+ Reply to Thread
Results 1 to 3 of 3

VBA Simple .Autofilter Copy Paste will not succeed?

  1. #1
    Registered User
    Join Date
    10-03-2012
    Location
    Anderlecht
    MS-Off Ver
    Excel 2003
    Posts
    14

    VBA Simple .Autofilter Copy Paste will not succeed?

    Hello there,

    I am overlooking something here but I just don't see it.
    I am trying to autofilter data and copy it somewhere but it
    always fails on paste??
    I have 2 tests in the file ... tabblad Demo I copied somewhere from
    the internet the second is my own creation and I can't seem to
    reproduce the behaviour.

    Excel in attachment.
    Can you direct me in the right direction.

    Ultimately I want to copy the second column from the autofilter results somewhere.
    Is this possible? For example following statement:
    Rng.Columns(2).Copy
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: VBA Simple .Autofilter Copy Paste will not succeed?

    This line is wrong
    Application.CutCopyMode = False
    it is deleting the copied cells.

    Please Login or Register  to view this content.
    Last edited by AB33; 10-23-2014 at 06:20 AM.

  3. #3
    Registered User
    Join Date
    10-03-2012
    Location
    Anderlecht
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: VBA Simple .Autofilter Copy Paste will not succeed?

    I cannot believe it was this simple .... lost alot of time searching for this ... thankx alot!

+ 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] Copy & Paste Using Autofilter
    By timbo1957 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-26-2013, 08:45 AM
  2. [SOLVED] Simple copy and paste macro- Paste special help needed.
    By hernancrespo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2012, 07:02 AM
  3. Autofilter Copy Paste
    By SunOffice in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-05-2011, 09:07 AM
  4. [SOLVED] Autofilter - copy & paste
    By Dorothy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-29-2006, 06:00 PM
  5. Copy/Paste in Autofilter
    By honyacker in forum Excel General
    Replies: 2
    Last Post: 01-12-2006, 10:45 AM

Tags for this Thread

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