Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Not sure is I'm getting the full meaning of your q, but
Sub tester() For Each c In Range("Test") MsgBox "Your Value is " & c.Value Next c End Sub This worked for me (Test is a named range C4:C7 - with values 123,456,789,001 " wrote: I have a Loop that I want to go until it is out of my named range something like so Lets say I have a named range called "HiField" """""""""""""""""""""""""""""""""""""""""""""""""" """"""" Dim ntotal as string ntotal = 0 Do Range("CP1").Offset(ntotal, 0) = "HI" ntotal = ntotal + 1 Loop Until out of HiField <------This is were I need Help How would I go about telling it to loop until out of named range |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Loop through single column of named range | Excel Programming | |||
Redefining a Named Range In A Loop | Excel Programming | |||
If any cell in named range = 8 then shade named range | Excel Programming | |||
Loop thru named range of second sheet | Excel Programming | |||
plz help: creating named range in VBA, loop goes haywire | Excel Programming |