S
sophic
I have tried and tried to write some vba to select each range name
clear the contents and remove the name. I know that it should g
something like;
Dim rName As Name
For Each rName In ActiveWorkbook.Names
Application.Goto Reference:= rName
Selection.Clear
Selection.QueryTable.Delete
rName.Delete
Next rName
The problem is in line 3 where I cannot goto a range name specified b
a variable. I have tried things like Range(rName).Select etc but I a
running out of ideas!
Please help soon!!!!
Thanks in advance.
Steve
clear the contents and remove the name. I know that it should g
something like;
Dim rName As Name
For Each rName In ActiveWorkbook.Names
Application.Goto Reference:= rName
Selection.Clear
Selection.QueryTable.Delete
rName.Delete
Next rName
The problem is in line 3 where I cannot goto a range name specified b
a variable. I have tried things like Range(rName).Select etc but I a
running out of ideas!
Please help soon!!!!
Thanks in advance.
Steve