I have the following code that I am using to save a few keystrokes. I want the rows inserted on both tabs (“Link” and “Data”) in the same location. My macro will only insert the rows in the active sheet:
Sheets(Array(“Link”, “Data”)).Select
Sheets(“Link”).Activate
Selection.EntireRow.Insert
ActiveCell.Offset(23, 0).Range(“A1”).Select
Selection.EntireRow.Insert
ActiveCell.Offset(26, 0).Range(“A1”).Select
Selection.EntireRow.Insert
I can do this manually by selecting the two sheets but cannot figure out why the macro will not do this with the Array Select.
Any guidance will be greatly appreciated.
Bill