codename help
thanks carlos
--
Gary
"Carlos" wrote in message
...
Try
dim cname as Worksheet
For i = 1 To 12
set cname = sheets("Sheet" & i)
cname.Select
Next
"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
i want to loop through 12 sheets, codename sheet1 thru sheet12
why doesn't this work?
i = 1
For i = 1 To 12
cname = "Sheet" & i
cname.Select
Next
--
Gary
|