Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Howdy,
Seems so simple, but gives the "run time error 1004". "defined_Range" is a dynamic range in the workbook. Dim myCell as Range For Each myCell In Range("Defined_Range") If IsEmpty(myCell) Then myCell.Formula = "=Int(rand()*500+1" myCell.Formula = myCell.Value End If Next rCell Regards, Tim |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find Last cell in Range when range is date format | Excel Discussion (Misc queries) | |||
RANGE EXCEL copy cell that meets criteria in a range | Excel Worksheet Functions | |||
Referencing a named range based upon Range name entry in cell | Excel Worksheet Functions | |||
Selecting range in list of range names depending on a cell informa | Excel Discussion (Misc queries) | |||
Range.Find returns cell outside of range when range set to single cell | Excel Programming |