madkinson
Board Regular
- Joined
- Dec 17, 2004
- Messages
- 113
- Office Version
- 365
- Platform
- Windows
I'm struggling with the proper syntax for defining a Range. I have a variable that counts the number of rows. At a given point, I want a new Row inserted into the sheet. Here is what I have:
'Insert blank row for subtotals
Range("A" & MyCount:"P" & MyCount).Select
Selection.Insert Shift:=xlDown
VBA doesn't like my syntax. What am I doing wrong?
Mark
'Insert blank row for subtotals
Range("A" & MyCount:"P" & MyCount).Select
Selection.Insert Shift:=xlDown
VBA doesn't like my syntax. What am I doing wrong?
Mark