Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
one less than range filldown statement
Have the following code:
Range(Selection, Selection.End(xlDown)).Select ActiveCell.Range("A1:A112").Select Selection.FillDown Selection.End(xlDown).Select Trying to start from a cell, ctrl-shft-down to next cell, and then go one cell LESS than that range, then filling down. How do I get that "one less" part after it fills down (or as part of the selection)? Thx. -- Boris |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
one less than range filldown statement
This'll do it: range(activecell, activecell.end(xldown).offset(-1,0)).filldown Col -- colofnature ------------------------------------------------------------------------ colofnature's Profile: http://www.excelforum.com/member.php...o&userid=34356 View this thread: http://www.excelforum.com/showthread...hreadid=560728 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
one less than range filldown statement
worked like a charm. Thx much.
-- Boris "colofnature" wrote: This'll do it: range(activecell, activecell.end(xldown).offset(-1,0)).filldown Col -- colofnature ------------------------------------------------------------------------ colofnature's Profile: http://www.excelforum.com/member.php...o&userid=34356 View this thread: http://www.excelforum.com/showthread...hreadid=560728 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Filldown? & Cmb? | Excel Programming | |||
Variable Range Length & .FillDown? | Excel Programming | |||
FillDown Macro | Excel Worksheet Functions | |||
IF Statement not Displaying FILLDOWN results Automatically | Excel Programming | |||
FillDown | Excel Programming |