Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Have the following:
Range(Selection, Selection.End(xlDown) - 1).Select Selection.FillDown Selection.End(xlDown).Select This is selecting everything to the next value in a list (I then filldown). Need it to go to the value and then subtract 1 row from the range (so the filldown does not overwrite the next value in the list). Thanks. -- Boris |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe...
Range(Selection, Selection.End(xlDown).offset(-1)).Select BorisS wrote: Have the following: Range(Selection, Selection.End(xlDown) - 1).Select Selection.FillDown Selection.End(xlDown).Select This is selecting everything to the next value in a list (I then filldown). Need it to go to the value and then subtract 1 row from the range (so the filldown does not overwrite the next value in the list). Thanks. -- Boris -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
perfect. thanks.
-- Boris "Dave Peterson" wrote: Maybe... Range(Selection, Selection.End(xlDown).offset(-1)).Select BorisS wrote: Have the following: Range(Selection, Selection.End(xlDown) - 1).Select Selection.FillDown Selection.End(xlDown).Select This is selecting everything to the next value in a list (I then filldown). Need it to go to the value and then subtract 1 row from the range (so the filldown does not overwrite the next value in the list). Thanks. -- Boris -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Narrow Range based on Selection in Another Range | Excel Discussion (Misc queries) | |||
Identifying a selection of a selection of a range | Excel Worksheet Functions | |||
Selection Range | Excel Discussion (Misc queries) | |||
Excel VBA - Range(Selection, Selection.End(xlDown)).Name issue. | Excel Programming | |||
Creating range name for a range selection | Excel Programming |