+ Reply to Thread
Results 1 to 4 of 4

Copying filtered column to a new tab with extras

  1. #1
    Registered User
    Join Date
    05-02-2013
    Location
    Nederland
    MS-Off Ver
    Excel 2010
    Posts
    2

    Copying filtered column to a new tab with extras

    Hi all!

    I have a question that I could not find directly in previous posts.

    I want to copy a selection from a database to the next tab and thereby bring a number of things.
    I want the macro to continu at the end of the column to the next named column. Preferably by saying that the macro moves a few rows.
    I also want an ID number to appear next to the selection and continue numbering the total.

    I tried to record a macro but I'm stuck.

    In Annex I give the start and end result. In Sheet1 you see the start position and the end position Sheet2.

    You would really help me, I need it for a database of 300 x 5000 lines.

    Thanks in advance!

    test macro filteren lijst en kopieren.xlsm

  2. #2
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: Copying filtered column to a new tab with extras

    Hi,

    try this:test macro filteren lijst en kopieren.xlsm
    by default the result will be written into the sheet with index 2, you can adapt this here:
    Please Login or Register  to view this content.
    File contains:
    Please Login or Register  to view this content.
    Regards
    Please use [CODE]-TAGS
    When your problem is solved mark the thread SOLVED
    If an answer has helped you please click to give reputation
    Read the FORUM RULES

  3. #3
    Registered User
    Join Date
    05-02-2013
    Location
    Nederland
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Copying filtered column to a new tab with extras

    Wow works like a charm! What do i need to modify when I would like to use it with text in stead of numbers?

    Thankks

  4. #4
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: Copying filtered column to a new tab with extras

    this works with text and/or numbers, skips zeros and blank text: test macro filteren lijst en kopieren.xlsm

    Reards

+ 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