I have a section of VBA code (thank you John Davis) as follows:
Sub majime01()
Dim ws As Worksheet, x As String
x = Sheets("Sheet1").Range("A1")
For Each ws In Sheets(Array("Sheet2", "Sheet3", "Sheet4", "Sheet5", "Sheet6"))
ws.Range("B" & Rows.Count).End(3)(2) = x
Next ws
End Sub
Is it possible to have the Sheet Array reference back to another sheet's cells? For example:
For Each ws In Sheets(Array("Sheet2CellA1", "Sheet2CellA2", "Sheet2CellA3", "Sheet2CellA4", "Sheet2CellA5"))
This way the code could affect a variable of other sheets based on changing values on Sheet 2.
Thank you in advance.
Bookmarks