Macro

  • Thread starter Thread starter Nicole
  • Start date Start date
N

Nicole

I have created a macro in a workbook that has multiply
worksheets (tabs). The macro works great on the worksheet
where the macro was created. However, when I move to a
different "tab", the macro goes back to tab where is was
created and runs the macro. I want to create/change my
macro to a "universal" marco, where I can go to any "tab"
and the macro will function properly.
 
post your code in a plain text message (i.e., don't attach a file).

in general, using "ActiveSheet" instead of a specific sheet
reference is what you're after, but without having seen your code, I
couldn't promise you that that wouldn't screw things up.
 
Back
Top