Hi all.
Been at this for 5 hours....I can't find a way to name all my worksheets, then make a variable that would select them all. Speed and cleanliness in the code is very important to me, so any optimal or much better ways would be very appreciated. Here's my code:
Been at this for 5 hours....I can't find a way to name all my worksheets, then make a variable that would select them all. Speed and cleanliness in the code is very important to me, so any optimal or much better ways would be very appreciated. Here's my code:
Code:
Sub meow() Dim count As Integer
Dim i As Integer
Dim dNames(1 To 6) As Variant
items = Worksheets("Item Analysis").Activate
analysis = Worksheets("Analysis").Activate
manuf = Worksheets("Make").Activate
carrier = Worksheets("Carrier Analysis").Activate
gbCarrier = Worksheets("iPhoneCarrierGB").Activate
gb = Worksheets("iPhoneGB").Activate
Set all = ActiveWorkbook.Sheets(items, analysis, manuf, carrier, gbCarrier, gb)
End Sub