Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
set ARange = RangeName.offset(0,-1)
-- Regards, Tom Ogilvy "Bill Case" wrote in message ... My explanation in my first post wasn't very clear. Let me try again. I have RangeName as $B$5:$B$? I want to : Dim ARange as Range Set ARange = RangeName only as $A$5:$A$? I can do this with Cells( i, 0) and a For loop but there should be a better way. Regards Bill "Bill Case" wrote: Hi; I have a range name $B$5:$B$?. ? means the length of the range can change. I want to create a new temporary range that depends on the length of the original range name i.e. $A$5:$A$?. I should know how to do this, but tonight, Gawd if I can make it work. Any suggestions? Regards Bill |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Figuring Late night Hours | Excel Discussion (Misc queries) | |||
Makeing a Spreadsheet | Excel Discussion (Misc queries) | |||
Makeing People Save As | Excel Discussion (Misc queries) | |||
ActiveWorkbook.Protect password:=range("rangename") does not work | Excel Programming | |||
ActiveWorkbook.Protect password:=range("rangename") does not work | Excel Discussion (Misc queries) |