Sub clearum()
Dim n As Name
For Each n In ActiveWorkbook.Names
Range(n).Clear
Next
End Sub
Note that the Name is really a string and therefore appears in the RANGE()
argument
--
Gary''s Student
gsnu200709
"Les Stout" wrote:
Hi All, I have a number of named ranges on a spread sheet and need to
clear their values on exiting the spread sheet. Is it possible to "Clear
all" ??
Les Stout
*** Sent via Developersdex http://www.developersdex.com ***