Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Copying a Userform within the same project

Hi,

I'm a VBA dabbler...

I want to make a copy of a userform and keep it in the same project.

I need a duplicate form with only minor variations and would like to keep
the same look-n-feel without redesign and recode, etc...

I can't figure out how to do it in VBA editor (in excel). There is no
"copy" option under the right click, and the editor will not let me drag and
drop it in anywhere.

I've seen techniques for creating copy in a different project on different
worksheet, but none for jsut making a simply copy in the same place.

Maybe I'm confused about projects. I have about 20 macro/procedures. I put
each in a unqiue module as many are fairly complex (for me anyway) with
descriptive names so that everything was clean and made some sense and
logical code functions could be easily found and debugged.

So I think I have one project for my workbook. Why would I want more ?


thanks,

tim
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Copying a Userform within the same project

This may not be the most elegant solution, but open a blank workbook, drag
the UserForm to the new project, rename it, and drag it back.

--

Vasant


"needyourhelp" wrote in message
...
Hi,

I'm a VBA dabbler...

I want to make a copy of a userform and keep it in the same project.

I need a duplicate form with only minor variations and would like to keep
the same look-n-feel without redesign and recode, etc...

I can't figure out how to do it in VBA editor (in excel). There is no
"copy" option under the right click, and the editor will not let me drag
and
drop it in anywhere.

I've seen techniques for creating copy in a different project on different
worksheet, but none for jsut making a simply copy in the same place.

Maybe I'm confused about projects. I have about 20 macro/procedures. I
put
each in a unqiue module as many are fairly complex (for me anyway) with
descriptive names so that everything was clean and made some sense and
logical code functions could be easily found and debugged.

So I think I have one project for my workbook. Why would I want more ?


thanks,

tim



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying Userform Marcia3641 Excel Discussion (Misc queries) 3 July 21st 05 08:53 PM
Copying labels to Userform at runtime. Henry[_5_] Excel Programming 5 June 8th 05 11:47 PM
Copying a userform into a new workbook jase[_2_] Excel Programming 2 May 25th 05 07:56 PM
Copying and Pasting froma Userform Richard Excel Programming 1 May 18th 04 09:20 AM
Copying and Pasting froma Userform Richard Excel Programming 0 May 18th 04 09:10 AM


All times are GMT +1. The time now is 12:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"