victor26086
Board Regular
- Joined
- Jul 23, 2008
- Messages
- 163
I have a small spreadsheet and im trying to find the fastest way to name a range using a macro.
The way i am currently finding my far right top point of the range is using "FInd" and then ctrl left.
The name is always on column C, in this case the name on top is "2009 Data" so thats what i search for. Like this.....
The way I want to find my lower right side point of the range is like this...
Please help if you can. Thanks
The way i am currently finding my far right top point of the range is using "FInd" and then ctrl left.
The name is always on column C, in this case the name on top is "2009 Data" so thats what i search for. Like this.....
PHP:
Cells.Find(What:="2009 Data", LookAt:=xlWhole, SearchDirection:=xlNext).Activate
Selection.End(xlToLeft).Select
The way I want to find my lower right side point of the range is like this...
PHP:
Cells.Find(What:="2009 Data Total", LookAt:=xlWhole, SearchDirection:=xlNext).Activate
Selection.End(xlToRight).Select
Last edited: