Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi rrobelen,
You can simply trap the error that may occur if it doesn't exist: Public Function gbDoesNameExist(rwb As Workbook, _ rsName As String) As Boolean On Error Resume Next gbDoesNameExist = Len(rwb.Names(rsName).Name) On Error GoTo 0 End Function -- Regards, Jake Marx MS MVP - Excel www.longhead.com [please keep replies in the newsgroup - email address unmonitored] rrobelen wrote: I know this must be trivial but I can't find it. How do i test to see that a range name exists? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I test for nulls within a range without specifying each ce | Excel Discussion (Misc queries) | |||
Test within a range? | Excel Worksheet Functions | |||
Formula to test for existence of external file | Excel Worksheet Functions | |||
Test if Cell is within Range (name) | Excel Programming | |||
Testing for existence of range | Excel Programming |