Hello All,
I am trying to write a Macro that will automatically select a range of cells. The macro I am using is as follows:
Sheets("Pivot Table").Select
Rows("3:3").Select
Selection.Find(What:="Period").Select
Selection.Select
ActiveCell.Offset(1, 0).Select
Range(Selection, Selection.End(xlToRight)).Offset(0, -1).Select
In my particular worksheet the value "Period" is on cell C3. So the Macro should select cells C4:T4. However when I run the Macro it actuall selects cells B4:T4
Does anybody know what the mistake in this code is?
Bookmarks