think someone can give me a hand I cant seem to get this code to fire, any chaNCE I'm missing something?
Please Login or Register to view this content.
think someone can give me a hand I cant seem to get this code to fire, any chaNCE I'm missing something?
Please Login or Register to view this content.
Hi
The macro fires if it's in a worksheet module, but throws errors.
Post a sample workbook of what you have so we can see what you're trying to achieve
Phil
see attached i put it in the workbook module as i would like it to fire on every sheet
Hi Sparky,
Put your code in a Module with a name like "FireMe". Then behind each sheet on the Worksheet_Activate event, Call FireMe. I think that is what you are trying to do. Code behind each sheet can only work on/in that individual sheet. Code in a module can work across sheets.
I think the problem lies within this page:
http://www.cpearson.com/excel/codemods.htm
Last edited by MarvinP; 02-14-2016 at 02:46 AM.
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks