The Ghost of Macros Past

nigelandrewfoster

Well-known Member
Joined
May 27, 2009
Messages
747
Hi,
Been puzzled this afternoon. Took my old, cumbersome ordering system apart today, starting almost from scratch. One macro which I completely rewrote is called UpdateAll, which I assigned to upper case U on keyboard. This was the same assignment I had for the old Update macro, which - along with almost everything else today - has been deleted. HOWEVER... When I try to run the macro using UCase U, I get strange results. When I run the macro by selectiong it and hitting run it works ok. I reassigned the macro shortcut to LCase u and, again, it worked ok. IT SEEMS like its running an old macro from an old workbook, somewhere, when I hit Ucase U, but none are open. How could I discover what it's doing? I tried stepping through the code several times, and it seems to behave itself when it's under scrutiny, like most of us, I guess.
 
Last edited:

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
I think it was Harold Hotelling who said "Dead investments, like dead men, should lie in their graves".

And from Goethe "The ghosts I called, I can't get rid of now".

And, paraphrasing Shakespeare (Mark Anthony) "So be it with macros"

Why not start anew and properly redo the whole thing?
 
Upvote 0
I thnk that's a very good idea. I cannot think of an alternative. Since, clearly, as with Mark Twain, rumours of its deletion are highly exaggerated.
 
Upvote 0

Forum statistics

Threads
1,223,989
Messages
6,175,814
Members
452,672
Latest member
missbanana

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