| Member with 377 posts. | | Join Date: Jul 2001 Location: England |
06-Jul-2003, 01:06 PM
|
Well, maybe the answer is not to record a macro to 'undo' everything.
Perhaps the answer should be to create a macro to 'create' the defaults you want to see.
For example, with a blank worksheet, click on Tools, then Macros and then Record Macro.
First off, you would want to delete everything (don't worry, I know nothing is there!), so click the 'Select All' button (little square located left of the 'A' and above the '1').
With the macro still recording, press Edit, then Clear and then All, to delete the contents of all the cells in question.
Proceed to fill in the cells with the default formulae, etc, that you want to see each time at the start.
Once you are happy with this, click on the 'Stop Recording Macro' button.
--
Now to add a button to your menu (if you want to that is!)
Right click on the toolbar (next to Help, etc) and select Customize.
On the Commands tab that appears, select Macro in the left-hand window and drag the Custom Button icon to where you want it on the toolbar.
Once this has been done, right-click on your new menu item and select Assign Macro. Choose the macro you just created from the list that appears and close the customize window.
Now, each time a pupil has done their worst (!), all you have to do is click on your new button and it will reset the form to how you set it up first time round!
---
Hope this is what you are after.....
__________________ Before you criticize a man, walk a mile in his shoes.... That way, when you do criticize him - you'll be a mile away, and have his shoes |