+ Reply to Thread
Results 1 to 3 of 3

Remove All Defined Names

  1. #1
    Registered User
    Join Date
    11-10-2008
    Location
    Chicago
    Posts
    1

    Remove All Defined Names

    This macro was extremely helpful. However for some of the workbooks that I am trying to apply, I am getting a debug error on n.delete. Any ideas? Thanks!!

    http://www.excelforum.com/excel-prog...ned-names.html
    Last edited by VBA Noob; 11-10-2008 at 05:00 PM. Reason: Move to it's own post as per forum rules

  2. #2
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848
    It would be helpful if you supplied a little more information. At the very least,what was the error that you received?

    The macro runs fine on my end on workbooks with and without defined names.

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello allisonmetzger,

    Welcome to the Forum!

    Did you use the code with "ActiveWorkbook" or "ThisWorkbook"? The error is probably occurring because either the workbook name is incorrect or the name doesn't exist. For best results, you should post your workbook for review.

    Sincerely,
    Leith Ross

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1