Hello Jennie,
Copy either one of these routines and add in the code you want to run.
Code
-------------------
Dim I As long
With ThisWorkbook
For I = 1 To .Worksheets.Count
'Insert your code here
Next I
End With
'Or this method...
Dim Wks
For Each Wks In ThisWorkbook.Worksheets
'Insert your code here
Next Wks
-------------------
Sincerely,
Leith Ros
--
Leith Ros
-----------------------------------------------------------------------
Leith Ross's Profile:
http://www.excelforum.com/member.php...fo&userid=1846
View this thread:
http://www.excelforum.com/showthread.php?threadid=47936