mcgurrgurr
New Member
- Joined
- Aug 22, 2011
- Messages
- 8
I am trying to create a code which will select a range and allows me to easily edit the row numbers. I have done the same type of setup with selecting a single cell value, but I am trying to expand this to a group of cells.
When I create variables to define the columns I use the following setup (there is other code, I simply cut out what seemed relevant to show:
Dim Row
Row = "12" 'set to desired row number
Range("A" & Row:"R" & Row).Select
I keep receiving an error message, but I do not understand why. If anyone can help me it would be greatly appreciated!
Thank you!
Pat
When I create variables to define the columns I use the following setup (there is other code, I simply cut out what seemed relevant to show:
Dim Row
Row = "12" 'set to desired row number
Range("A" & Row:"R" & Row).Select
I keep receiving an error message, but I do not understand why. If anyone can help me it would be greatly appreciated!
Thank you!
Pat