Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How would I go about writing code to select a column of cells to work on but
let work as long as data is present to the right of it ? If c1 is blank stop running,I would like to have an open range instead of H2 to H167, I would like it to be H2 to the next cell that isnt blank! Is it possible? Any help would be greatly appreciated, Neal. Range("H2").Select Selection.AutoFill Destination:=Range("H2:H167"), Type:=xlFillDefault Range("H2:H167").Select ActiveWindow.SmallScroll Down:=-159 Selection.Copy Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating Ranges Easily | Excel Discussion (Misc queries) | |||
Creating drop down list for multiple cell ranges | Excel Discussion (Misc queries) | |||
Creating Non-Contiguous Cell Ranges | Excel Programming | |||
Creating Non-Contiguous Cell Ranges | Excel Programming | |||
Creating Ranges | Excel Programming |