Hi,
I have a weird problem with the following code. When the declaration of s is included, the program stops at the "For Each s" statement caliming to need an object. When I comment it out, the code runs error free and TypeName reports "s" to be of type "Worksheet".
Why does the code fail when the declaration of s is included?
![]()
Please Login or Register to view this content.
Bookmarks