Thread
:
Find invalid names via VBA
View Single Post
#
2
Posted to microsoft.public.excel.programming
Ardus Petus
external usenet poster
Posts: 718
Find invalid names via VBA
Dim rng as Range
On Error resume Next
Set rng=Range("TargetRng")
On Error Goto 0
If rng is Nothing then
MsgBox "Error"
Else
Whatever
Endif
HTH
--
AP
"efree" a écrit dans le message de news:
...
Using VBA, how do I identify invalid dynamic range names?
For Example, I would like the following to be flagged:
"TargetRng" is defined as OFFSET(StartPoint, 0, 0, 1, 100) where
"StartPoint" is undefined.
Thank you for your help
Reply With Quote
Ardus Petus
View Public Profile
Find all posts by Ardus Petus