Hi Brian, glad I was able to help.
Regarding your request, this might be as easy as right-clicking on the sheet you are referring to, then left click on View Code and paste in:
Private Sub Worksheet_Activate()
'YOUR MACRO CODE GOES HERE
End Sub
Just insert your macro code where I've indicated, and you should be good to go.
If this is not what you want, please repost.
Tom Urtis
Tom-
I get a new sheet every other day and was looking for something to do this automatically, didn't know if can base the macro off the sheet name, so I open the macro sheet, it opens the sheet I want to modify, runs the macro on this sheet, and then closes the macro sheet?
I'm probably going to be distributing so I don't want others to view the code.
Thanks!
Brian
It sounds do-able but I'm still a little unclear about which sheet is which ("new sheet", "macro sheet", "modify sheet", etc.). As an option just to save space on the board, you can email me with your code and a step by step process that you would like to have automated, with the file names and sheets identified, and I'll be happy to help you find a solution if I can.
Tom U.