Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi all,
in vba - how do you tell if a named range exists? and whats the easiest way to create a named range now i am doing: Dim l As Range ActiveWorkbook.Names("LastUsed").Delete l = .Cells(Cells.Rows.Count, "C").End(xlUp)(2) ActiveWorkbook.Names.Add name:="LastUsed", _ RefersToR1C1:="='Customer Orders'!R" & l.Row & "C" & l.Column is there a better way to do this? tia J |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to lookup if value exists in a range of data? | Excel Worksheet Functions | |||
inserting a named range into new cells based on a named cell | Excel Discussion (Misc queries) | |||
Check if a number exists in a range? | Excel Discussion (Misc queries) | |||
within a macro how can I suppress the warning pop "A file named xxxx.xls already exists in this location. Do you want to replace it?" | Excel Programming | |||
easy way to test if a Named Range exists | Excel Programming |