copy userform to same workbook

still learning

Well-known Member
Joined
Jan 15, 2010
Messages
821
Office Version
  1. 365
Platform
  1. Windows
Hi
I've got a userform (userform1) in a workbook.
I need to make another userform (userform2) in the same workbook, with a slight modification.
Can I copy userform1 to "insert userform" (which will automatically name it userform 2) then add to it.
OR do I have to remake it again after I "insert userform"

Mike
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
1. Create a new workbook.
2. From the VBA Project window, drag your new userform to the new workbook.
3. In the the VBA project for the new workbook, rename the userform
4. Drag the new userform from the new workbook project back to your main project.
 
Upvote 0
Method #2

1. Decide on a name for your new userform
2. Export source userform to file
2. Rename source userform to the new name decided on in step 1
3. Import the userform file that you just exported, to restore original userform
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top