Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 29th, 2004, 12:47 PM
Registered User
 
Join Date: Jul 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Remove UserForm

I have a program that has numerous userforms, but I want an easy way for them to be changed if necessary. I'm trying to write a program that does this, but can't seem to figure out how to delete a userform. I am currently using the following line of code and can't seem to get it to work.

Application.VBE.VBProjects("Check_Form").VBCompone nts.Remove(userforms("Userform1"))

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
modeless userform randomwanderer Excel VBA 3 December 3rd, 2008 07:59 AM
Excel UserForm ttitto Excel VBA 0 December 11th, 2007 11:20 AM
Userform - Modeless chrislim1 Excel VBA 10 September 20th, 2006 12:36 PM
Remove UserForm lostthought VB How-To 0 July 29th, 2004 12:46 PM
Surface in a userform Rosser VB How-To 0 March 31st, 2004 05:07 AM



All times are GMT -4. The time now is 01:01 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.