copy a form

arey

Board Regular
Joined
Feb 14, 2006
Messages
166
Hello All,

I have a form that I want to use in a new work book,
Is there a way to copy a form from one workbook to another?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

biztekjim

New Member
Joined
Dec 30, 2004
Messages
18
Go to the original workbook and open VBA.
Right click on the form and then Export File.
Go to the new workbook and open VBA.
Right click anything in the VBAProject window and click Import File - then navigate to the exported form.
 
Upvote 0

ZVI

MrExcel MVP
Joined
Apr 9, 2008
Messages
3,875
Office Version
  1. 2019
  2. 2016
  3. 2010
Platform
  1. Windows
Drag and drop working as well.
Select userform in Project Explorer of VBE.
Press left mouse button.
Drag to destination project.
Release left mouse button (drop).
 
Upvote 0

Forum statistics

Threads
1,195,667
Messages
6,011,053
Members
441,580
Latest member
BornholmerBjarne

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
Top