Allan Walker
New Member
- Joined
- Jun 10, 2010
- Messages
- 49
Hi!
So, I've managed to get my macro for my report cleaning done, and I'm really happy! Thanks for all the help from the good contributors at Mr Excel!
But I have a little problem - the code is very close to the 64K limit, and therefore I can't just copy paste and append the code.
So, I think I need to do a loop, but I'm still novice.
My range of worksheets are:
"Report Week 1" "Report Week 2" "Report Week 3" and "Report Week 4".
My macro is called "Report Cleaner".
At the moment I am manually selecting each worksheet in turn, and then running the macro. At the end of each one a msgbox pops up to say done. Ideally, what would happen is that the macro runs once on each sheet in the range. I can always take the msgbox out, but it would be nice to add it at the end...
Thanks once again in advance,
Allan
So, I've managed to get my macro for my report cleaning done, and I'm really happy! Thanks for all the help from the good contributors at Mr Excel!
But I have a little problem - the code is very close to the 64K limit, and therefore I can't just copy paste and append the code.
So, I think I need to do a loop, but I'm still novice.
My range of worksheets are:
"Report Week 1" "Report Week 2" "Report Week 3" and "Report Week 4".
My macro is called "Report Cleaner".
At the moment I am manually selecting each worksheet in turn, and then running the macro. At the end of each one a msgbox pops up to say done. Ideally, what would happen is that the macro runs once on each sheet in the range. I can always take the msgbox out, but it would be nice to add it at the end...
Thanks once again in advance,
Allan