Herbalgiraffe
New Member
Hey guys,
I need to perform a loop on a series of worksheets, but I am getting type mismatch error for the following:
I need to perform a loop on a series of worksheets, but I am getting type mismatch error for the following:
Code:
Dim YTD As Variant
Dim wks As Worksheet
Set wks = ActiveSheet
Set YTD = Array("Sheet11", "Sheet13", "Sheet15", "Sheet4", "Sheet2", "Sheet5", "Sheet7", "Sheet9")