Hi Kathryn,
ALT+F11 gets you to the VB Editor (VBE).
Insert>Module. Paste the text of the macro in the Module.
ALT+F11 brings you back to the Worksheet.
From there it's the same as a recorded macro.
--
Kind regards,
Niek Otten
Microsoft MVP - Excel
| That looks like that will do the trick.. but I must admit -- I don't know
| how to do it.
|
| I know how to record macros... but have never done anything in VB.
|
| Can you give me pointers on how to set this up?
|
| Sorry I'm not smarter!
|
| --
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Kathryn Groves
|
|
| | > Hi Kathryn,
| >
| > Look here:
| >
| >
http://www.cpearson.com/excel/sortws.aspx
| >
| > --
| > Kind regards,
| >
| > Niek Otten
| > Microsoft MVP - Excel
| >
| > | > | Is it possible to sort Worksheets within an individual workbook (File).
| > |
| > | I know how to do it manually -- clicking and dragging each into
| > position.
| > |
| > | Is there a way to do them all at once. With dozens of sheets... this
| > will
| > | be a time consuming task. And then there are multiple files!
| > |
| > | I am using Excel 2003.
| > |
| > | --
| > |
| > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| > | Kathryn Groves
| > |
| > |
| > |
| >
| >
|
|