Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to delete names except Print_Area
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
unable to delete Macro names | Excel Discussion (Misc queries) | |||
Addin macro to delete names in current workbook | Excel Programming | |||
Deleting all Range Names except Print_Area? | Excel Programming | |||
Macro to delete Defined Names | Excel Programming | |||
macro to change the names and delete closed books | Excel Discussion (Misc queries) |