Thread
:
For Each Next
View Single Post
#
2
Posted to microsoft.public.excel.programming
Don Guillett[_4_]
external usenet poster
Posts: 2,337
For Each Next
try in worksheets or in sheets
--
Don Guillett
SalesAid Software
"Darrin Henshaw" wrote in message
...
I'm feeling like a dummy at the moment. I'm using the For Each statement
to cycle through all sheets in the activeworkbook, and perform actions.
However, I have not used them befoer, and need help. This is what I
have:
Dim wksht As Worksheet
Application.ScreenUpdating = False
For Each wksht In ActiveWorkbook
'code to perform actions
Next wksht
But I get the error, "Object doesn't support this property or method".
Help! Thanks.
*** Sent via Developersdex
http://www.developersdex.com
***
Reply With Quote
Don Guillett[_4_]
View Public Profile
Find all posts by Don Guillett[_4_]