J
Julian Milano
I have the following code:
.....
Set H1 = Sheet2
Set H2 = Sheet4
Set H3 = Sheet6
Set H4 = Sheet8
Set Summary = Sheet11
For Each ws In Array(H1, H2, H3, H4)
.....
I have assigned the worksheet code names to variables H1..H4 and now wish to
cycle thru these worksheets. But XL is saying:
Runtime error 424: Object Required
On the For....Next line. What have I missed?
.....
Set H1 = Sheet2
Set H2 = Sheet4
Set H3 = Sheet6
Set H4 = Sheet8
Set Summary = Sheet11
For Each ws In Array(H1, H2, H3, H4)
.....
I have assigned the worksheet code names to variables H1..H4 and now wish to
cycle thru these worksheets. But XL is saying:
Runtime error 424: Object Required
On the For....Next line. What have I missed?