+ Reply to Thread
Results 1 to 4 of 4

Copy Data to new worksheet without range limits

  1. #1
    Registered User
    Join Date
    02-19-2013
    Location
    Massachussetts
    MS-Off Ver
    Excel 2010
    Posts
    10

    Copy Data to new worksheet without range limits

    Trying to copy specific data from one worksheet to another.
    If the text of North America (column A ) is found I want to copy all data with North America to worksheet 2.
    The row range will be ever changing as data is added and deleted from the source file.

    I looked at advanced filter but it seems to have limitations around ranges.

    Would I'd be better off with ifcount ??

    Thank you in advance for your quick responses.

    Bob

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy Data to new worksheet without range limits

    No, the AutoFilter is the tool to use. Use the macro recorder to get a base recording of:

    1) Turn on the AUTOFILTER in the title row above the data
    2) Filter column A for North America
    3) Copy all visible rows to the other sheet

    Now edit the resulting macro so the copy command actually uses a much longer set of rows than you recorded, more than you think you'll ever need. That should do it.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    02-19-2013
    Location
    Massachussetts
    MS-Off Ver
    Excel 2010
    Posts
    10

    Cool Re: Copy Data to new worksheet without range limits

    Thanks Jerry for the quick response... "sometimes we overlook what's in front of us"
    Last edited by JBeaucaire; 02-19-2013 at 09:23 PM.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy Data to new worksheet without range limits

    If that takes care of your original query, please select Thread Tools from the menu above and mark the thread as solved. Thanks.

+ 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