+ Reply to Thread
Results 1 to 3 of 3

Clear names Cells / Ranges

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Clear names Cells / Ranges

    Hi
    I am importing a database from a file. "Txt" as follows:
    Please Login or Register  to view this content.
    Everything ok so far, and the range of cells that contains the imported base, takes the name as defined in ". AddBASE Name =" growing "NOVABASE".

    Turns out I need to renew this base a few times, and after the second time the macro starts automatically add "_1", "_2", etc. ... as qty of times repeat the process, becoming "NOVABASE_1", "NOVABASE_2", etc..

    Even if I delete this intervaldo before importation, with the command:
    Please Login or Register  to view this content.
    He can clear the interval, but the next, he takes with the new rule.

    I need a soloção with two hypotheses.

    1st) Either the macro recognize anything after hunderline, type [ode] ActiveWorkbook.Names (addBASE & "_" & *). Delete [/ code] erasing this interval so that later I can name it right, or;
    2nd) Some macro to clear all names interlavos defined.
    Thank you!!!
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  2. #2
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Clear names Cells / Ranges

    Hi

    Any idea?
    Thank you!!

  3. #3
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Clear names Cells / Ranges

    Hi

    Any idea?
    Thank you!!

+ 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