Possible Duplicate:
How to protect cells in Excel but allow these to be modified by VBA script
any chance to run a specific marco [GodMarco] before any marco [UserMarco] which fired by user?
CASE I
I have a worksheet, which have lots button to do different action by user.
I have normal cells to let user input data, and have hidden cells to do the dirty work.
And since user may user [arrow] or [tab] to circle through, I have to protect the sheet.
And made them not selectable.
And now VBA stopped.
I know I can add vba codes to unprotect and protect again and again, but I think it is stupid to add them to each marco.
So can it be something like GODMODE that before each marco fired by user, run GODMARCO1, and after user marco, run GODMARCO2?
[DONE, THANK YOU.] CASE II
Or can we get some cells not selectable by user but selectable by VBA?
THANK YOU VERY MUCH.