Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way to store a range as a variable so that later I can go back to
that location? If so, what do you DIM the variable as? For example, this is what I have so far: DIM row1 as Long Cells.Find(What:=Month_Year, After:=ActiveCell, LookIn:=xlFormulas, _ LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _ MatchCase:=False, SearchFormat:=False).Activate Selection.End(xlDown).Select row1 = Cells(ActiveCell.Row + 1, ActiveCell.Column) (at this point I have statements that insert values into cells near this location, so I can't redo the same find) And then later I try to go back to that spot: Sheets("pivot table").Range(row1).Activate |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
worksheet name store in a variable | Excel Programming | |||
Way to store cell location to variable? | Excel Programming | |||
store variable | Excel Programming | |||
How to store current row into variable | Excel Programming | |||
Store variable value for Chart | Excel Programming |