Hi,
I have written a small bit of code that formats 4 cells on a sheet in Excell 97. When I run it on its own in a sub as follows it works fine:
Sub_formatcells()
Dim chkrw, chkcl As Integer
Dim sht As String
chkrw = 1
chkcl = 1
sht = "Sheet1"
With...
Hi
Does anybody know if it is possible to create a collection of several selected worksheets in VBA for Excel, so that a loop can be created to perform a procedure for each member (ie sheet) in the collection. I hope that makes sense!
Cheers,
Paul.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.