Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Something like this...
For r = 5 To NumBins Range(r, 2).Select Range(Selection, Selection.End(xlDown)).Select RangeName = "rngCol" & r RowName = "'Wfr Lvl'!R1C" & r ColName = "'Wfr Lvl'!C" & r ' ActiveWorkbook.Names.Add Name:=RangeName, RefersToR1C1:= _ "=OFFSET(RowName,1,0,COUNTA(ColName)-1,1)" Next r |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hyperlinks are chaning | Excel Discussion (Misc queries) | |||
Change cell value without chaning formula | Excel Discussion (Misc queries) | |||
Formula help, chaning a cell number within the formula | Excel Discussion (Misc queries) | |||
reference 2 arrays in a For Loop | Excel Programming | |||
Excel VBA Loop & Variable Reference | Excel Programming |