Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
To give A1:U2 the name Name_1
Range("A1").Resize(2,21).Name = "Name_1" You have given no information on determining how many rows a range might have or how the name would be determined. -- Regards, Tom Ogilvy "Ocicat" wrote in message ... I need an Excel macro to name ranges. The ranges always start in column A and end in column U. The problem is that the ranges aren't the same number of rows. The names are based on numbers such as _1, _2 etc. They often are more than 900 ranges. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Macro to Email specified ranges | Excel Discussion (Misc queries) | |||
Relative Ranges in excel macro | Excel Discussion (Misc queries) | |||
Relative Ranges in excel macro | Excel Worksheet Functions | |||
vba excel macro question...ranges | Excel Worksheet Functions | |||
I need an excel macro to name ranges | Excel Programming |