Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
deacs
 
Posts: n/a
Default Delete cell names on complete workbook


I have different cells named through out a workbook in different tabs.
Is it possible to delete all the named cells without going into each
individual cell to delete the name? Thanks!


--
deacs
------------------------------------------------------------------------
deacs's Profile: http://www.excelforum.com/member.php...fo&userid=2321
View this thread: http://www.excelforum.com/showthread...hreadid=515343

  #2   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett
 
Posts: n/a
Default Delete cell names on complete workbook

here are some I use
sub DeleteAllNames() 'ALL sheets
For Each Name In Names
Name.Delete
Next Name
End Sub
Sub DeleteAllNamesBUTprint()
For Each n In Names
If Right(n.Name, 10) < "Print_Area" _
And Right(n.Name, 12) < "Print_Titles" _
Then n.Delete
Next n
End Sub
Sub DeleteAllNames_Umlas()
ExecuteExcel4Macro "SUM(DELETE.NAME(NAMES()))"
End Sub
Sub DeleteHiddenNames()
Dim n As Name
Dim Count As Integer
For Each n In ActiveWorkbook.Names
If Not n.Visible Then
n.Delete
Count = Count + 1
End If
Next n
MsgBox Count & " hidden names were deleted."
End Sub

--
Don Guillett
SalesAid Software

"deacs" wrote in
message ...

I have different cells named through out a workbook in different tabs.
Is it possible to delete all the named cells without going into each
individual cell to delete the name? Thanks!


--
deacs
------------------------------------------------------------------------
deacs's Profile:
http://www.excelforum.com/member.php...fo&userid=2321
View this thread: http://www.excelforum.com/showthread...hreadid=515343



  #3   Report Post  
Posted to microsoft.public.excel.misc
deacs
 
Posts: n/a
Default Delete cell names on complete workbook


Hi Don,

Thanks for your help. I do have a couple of questions though...
1) Will deleting the names from the cells create a problem with the
formulas I have associated with those names? Basically, the worksheet
is a financial statement model and most of the formulas were created
with named cells and I would like to remove the names and just have the
formulas point to the cell location instead of the name. Does your code
accomplish this?

2) Can you point me to a quick dummy's how-to on how to implement your
code in excel? Unfortunately, I am clueless when it comes to VBA.

Thanks again!


--
deacs
------------------------------------------------------------------------
deacs's Profile: http://www.excelforum.com/member.php...fo&userid=2321
View this thread: http://www.excelforum.com/showthread...hreadid=515343

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to delete all defined names from a workbook? Dmitry Kopnichev Excel Worksheet Functions 15 November 14th 05 03:26 PM
Delete Define names across workbook Mike Excel Worksheet Functions 4 September 28th 05 12:41 AM
copying cell names Al Excel Discussion (Misc queries) 12 August 11th 05 03:01 PM
Replace range names with cell references? KH Excel Worksheet Functions 2 August 2nd 05 01:09 AM
Stubborn toolbars in Excel 007 Excel Discussion (Misc queries) 9 December 11th 04 02:02 PM


All times are GMT +1. The time now is 07:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"