Macro Blank

grizzfan

New Member
Joined
May 17, 2016
Messages
10
We built a database and went to move it to a different computer. The database linked fine, but when we went to run one of the macros, it was blank.

The weird part is there are other macros in the database and they are there. For some reason, this one macro shows blank.

Is there a simple fix for this?

Thank you!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Odd, but view the macro on the original PC.
try exporting it to the copy,
or
write down the steps,then rebuild it on the target PC.
 
Upvote 0
I would, but there are many "If" actions built into the macro.

I was trying to look online and I was curious if the "Macro Settings" under the Trust Center may have something to do with it...
 
Upvote 0
Just guessing here because I don't use macros.
Look at the list of references and see if any are marked "missing". Alt F11 should open a vbe window, and the references dialog is available from the Tools menu. Maybe the macro uses a method or something that it needs but can't find on the 2nd pc. If the other macros work, it probably isn't a Trusted Locations issue.

If that doesn't help, there must be an error number associated with the error message?
Did you simply copy this db to another pc, or did you create a new db there and import everything? If the latter, maybe you forgot to import a module or something else that's needed.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,241
Members
449,075
Latest member
staticfluids

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