Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
code for dragdown, minus one
try
nextrow=cells(activecell.row,activecell.column).en d(xldown).row-1 -- Don Guillett SalesAid Software "BorisS" wrote in message ... I thought I had asked this before and had the answer, but cannot find it in searching. Need a macro that will, from activecell, drag down to next non-blank cell minus one. In other words, the sequence I'd do would be shft-ctrl-down up arrow ctrl-d And I need it to be dynamic, in that the size is different each time, even though maybe that's obvious Any help would be appreciated. Thx. -- Boris |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to change all cells from minus to plus and plus to minus | Excel Worksheet Functions | |||
How to set minus value to 0 | Excel Worksheet Functions | |||
CHANGE TRAILING MINUS TO BRACKETS OR PRECEEDING MINUS | Excel Discussion (Misc queries) | |||
how to color code a cell in excel if amount reaches a minus | Excel Discussion (Misc queries) | |||
Copy Sheets minus Worksheet Change Event code & Macro Buttons | Excel Programming |