Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
There is only one non-blank cell in a given range; I need to populate the
rest of that range with that value. The cell containing the value could be anywhere in that range so I cant use fill down, up, etc by default. Thanks in advance |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Select the range and then:
Sub FillRange() v = "" For Each r In Selection If r.Value < v Then v = r.Value Exit For End If Next Selection.Value = v End Sub -- Gary''s Student - gsnu200801 "LuisE" wrote: There is only one non-blank cell in a given range; I need to populate the rest of that range with that value. The cell containing the value could be anywhere in that range so I cant use fill down, up, etc by default. Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find last non-blank cell in range | Excel Discussion (Misc queries) | |||
VBA code to fill rest of cell with dashes (-) | Excel Programming | |||
Trying to find a way to fill in the rest of a row if it is a dupli | Excel Worksheet Functions | |||
finding the first blank cell and then executing rest of macro | Excel Programming | |||
How to find the first blank cell in a range | Excel Programming |