+ Reply to Thread
Results 1 to 9 of 9

Name automaticly defined

  1. #1
    Forum Contributor
    Join Date
    09-02-2013
    Location
    Netherlands
    MS-Off Ver
    Office 365 (2013)
    Posts
    268

    Name automaticly defined

    I select some data from 4 cells. Based on that selection I fill up a sheet with data from another bigger datasheet.
    Now I noticed that it calls one cell: "Extract" and I have no idea where I wrote that in the code. (I have used some coding from others, but can't find anything).

    Any idea how this can happen?

    Sorry for this vague question, but I can't really tell it any better then I just did.
    It bothers me because when I try to use advancedfilter it doesn't see that Extract cell as Unique with the other cell with the same value.
    If I later ask if cell Extract = other cell it returns TRUE.

    So i think its a weird thing, not critical, but just weird.

  2. #2
    Forum Contributor
    Join Date
    06-22-2011
    Location
    somerset
    MS-Off Ver
    365
    Posts
    328

    Re: Name automaticly defined

    Can you post the code?
    by "calls one cell: "Extract"" do you mean it is a named range?

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,630

    Re: Name automaticly defined

    "Extract" is an automatically generated Named Range used when you use an Advanced Filter to copy to another range. You may also see one named "Criteria".


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Contributor
    Join Date
    09-02-2013
    Location
    Netherlands
    MS-Off Ver
    Office 365 (2013)
    Posts
    268

    Re: Name automaticly defined

    Quote Originally Posted by TMShucks View Post
    "Extract" is an automatically generated Named Range used when you use an Advanced Filter to copy to another range. You may also see one named "Criteria".

    Regards, TMS
    Is it possible to turn this auto-naming thing off?

  5. #5
    Forum Contributor
    Join Date
    06-22-2011
    Location
    somerset
    MS-Off Ver
    365
    Posts
    328

    Re: Name automaticly defined

    you could just delete it as soon as it is created
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    09-02-2013
    Location
    Netherlands
    MS-Off Ver
    Office 365 (2013)
    Posts
    268

    Re: Name automaticly defined

    Will do
    Is there any good reason why this is done? (automatically name it Extract or Criteria)

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,630

    Re: Name automaticly defined

    I guess the extract process needs to know where to get stuff from and where to put it and it creates Named Ranges to refer to those locations.

    You can delete them if you wish, but why worry? They're not doing any harm, are they?



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  8. #8
    Forum Contributor
    Join Date
    09-02-2013
    Location
    Netherlands
    MS-Off Ver
    Office 365 (2013)
    Posts
    268

    Re: Name automaticly defined

    Quote Originally Posted by TMShucks View Post
    I guess the extract process needs to know where to get stuff from and where to put it and it creates Named Ranges to refer to those locations.

    You can delete them if you wish, but why worry? They're not doing any harm, are they?



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Wanted to wait a little to maybe find out why this is done. Just out of curiosity.
    But I won't bother anyone anymore, I'll mark it solved.

    Thanks all for explaining where this comes from.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,630

    Re: Name automaticly defined

    John Walkenbach
    The Spreadsheet Page
    Excel Developer Tip

    http://j-walk.com/ss/excel/tips/tip88.htm

    Clearing the Advanced Filter Dialog Box

    When you choose the Data, Filter, Advanced Filter command, Excel displays its Advanced Filter dialog box. You've probably noticed that Excel "remembers" the previous range specifications for the List range, Criteria range, and Copy to range. In most cases, this is useful. But if you're working with several different worksheet databases, you may prefer that Excel uses the current database rather than the previous database.

    There is no direct way to clear the previous settings from the Advanced Filter dialog box. However, you can use the simple VBA procedure listed below.

    Please Login or Register  to view this content.

    How it works

    Excel keeps track of the previous Advanced Filter range specifications by using three name: _FilterDatabase, Criteria, and Extract. The ShowAdvancedFilterDialog procedure simply deletes these names, and then uses the Show method to display the Advanced Filter dialog box. Because these names are not defined, it's as if you are using the Advanced Filter command for the first time.

    Note: The _FilterDatabase name is a hidden name. Therefore, the only way to delete it is by using VBA code. The Criteria and the Extract names are normal names, and can be deleted using the standard Define Name dialog box.

    Using the procedures

    To use this procedure, copy it and paste it to a VBA module in your workbook. Then, execute the ShowAdvancedFilterDialog macro instead of the Data, Filter, Advanced Filter command.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Run Time 1004 - App Defined or Object defined error with String defined path structure
    By sarails in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-11-2012, 09:38 PM
  2. Insert ID automaticly
    By ncaravela in forum Excel General
    Replies: 1
    Last Post: 04-28-2010, 09:38 AM
  3. [SOLVED] expand toolbar automaticly
    By Marc Daems in forum Excel General
    Replies: 2
    Last Post: 05-08-2006, 08:35 PM
  4. [SOLVED] how do I type in a number and have it automaticly add to the exs.
    By ollie1717 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-06-2005, 01:06 PM
  5. Gordon. Yes f9 worked.How come not automaticly?
    By T.B. in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-29-2005, 03:06 PM

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