I need a macro to print a range from cell "A1" to the last non-zero cell in column L. this is my vba:
Sub findprint()
Dim i As Integer
Dim a As Integer
Dim b As Integer
i = WorksheetFunction.CountIf(Columns(12), 0)
a = WorksheetFunction.CountA(Columns(12))
b = a...
I have macro1 and macro2 in a workbook with 10 sheets. 3 worksheets' name begins with "a", two begins with "b". Does anyone know how automatically go through all 10 sheets and apply macro1 to 3 "a*" sheets , macro2 to 2 "b*" sheets?
Thanks!
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.