B
barberboy
I have a macro that deletes all of the named ranges in my workbook. The
problem is that it also deletes the "Print_Area" range, which results
in resetting my print area.
Is there a way to modify this so that it will keep my old print area?
Sub DeleteNames()
'
' Gets rid of all named ranges
'
For Each nName In Names
nName.Delete
Next
'
End Sub
problem is that it also deletes the "Print_Area" range, which results
in resetting my print area.
Is there a way to modify this so that it will keep my old print area?
Sub DeleteNames()
'
' Gets rid of all named ranges
'
For Each nName In Names
nName.Delete
Next
'
End Sub