Thread: Macro Help
View Single Post
  #5   Report Post  
lostgrave2001 lostgrave2001 is offline
Junior Member
 
Posts: 10
Question

There would be 4 sheets i couldnt have the macro run on.

Kind regards

Chris

Quote:
Originally Posted by Claus Busch View Post
Hi,

Am Mon, 5 Aug 2013 21:38:44 +0100 schrieb lostgrave2001:

i have tried to edit my code to ecxept "ActiveSheet.Cells(rwIndex,
1).Select" but when i try to change out " Worksheets("Local"


you want to run the code on all sheets? Then try:
dim wsh as worksheet

Application.ScreenUpdating = False
For Each wsh In ActiveWorkbook.Worksheets
your code
next wsh
And change into the code every "Worksheets("local")" and every
"ActiveSheet" to wsh

Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2