Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a user input a range, how can I store the beginning cell of that range
in a variable? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Dim myRng as range
dim myCell as range 'somewhat the user defines myRng set mycell = myrng.cells(1) J@Y wrote: I have a user input a range, how can I store the beginning cell of that range in a variable? -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks. What about the last cell?
"Dave Peterson" wrote: Dim myRng as range dim myCell as range 'somewhat the user defines myRng set mycell = myrng.cells(1) J@Y wrote: I have a user input a range, how can I store the beginning cell of that range in a variable? -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In a one area range:
Dim myRng as range dim myCell as range 'somewhat the user defines myRng with myrng set mycell = .cells(.cells.count) end with with a multi-area range with myrng with .areas(.areas.count) set mycell = .cells(.cells.count) end with end with J@Y wrote: Thanks. What about the last cell? "Dave Peterson" wrote: Dim myRng as range dim myCell as range 'somewhat the user defines myRng set mycell = myrng.cells(1) J@Y wrote: I have a user input a range, how can I store the beginning cell of that range in a variable? -- Dave Peterson -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find Cell in Named Range | Excel Worksheet Functions | |||
Find if any cell in range is above Zero | Excel Discussion (Misc queries) | |||
find the cell above any number in any range | Excel Worksheet Functions | |||
Find cell contents in range | Excel Discussion (Misc queries) | |||
find a cells from a range of cell | Excel Worksheet Functions |