Not all macros available in Project?

ElEdwards

Board Regular
Joined
Aug 29, 2002
Messages
220
I've been working on a project for work that has been coming along quite nicely..... but today, I added a userform that simply displays a "Please wait...." box while some files are being processed after a GUI button is pressed.
I copied this userform code from another xls file and I know it is solid code. I exported it from the older xls file, then imported it to the newer xls file, as I have done so many times.

But this time around, while I can see everything in the VBA Editor Project Window and can open all the macros, including the ones imported with the userform, when I Compile it, I get an error that the 'Sub or Function isn't defined' and when I go to 'Tools/Macros' in the VBA Editor, the newly imported macros aren't listed.

It's as if these imported macros think they still belong to the old xls file. What do I need to do to make them a part of the new Project? I'm sure this will be a "Duh" moment when you answer me. ;)

Thanks!
El
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,224,560
Messages
6,179,520
Members
452,923
Latest member
JackiG

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