+ Reply to Thread
Results 1 to 4 of 4

Copy visible cells to other worksheet

  1. #1
    Registered User
    Join Date
    02-12-2016
    Location
    Zurich, Switzerland
    MS-Off Ver
    MS Office 2013
    Posts
    94

    Copy visible cells to other worksheet

    Hi everyone,

    I'm trying to copy only visible cells from one worksheet to another and am using the following code for this:

    Please Login or Register  to view this content.
    Unfortunately, I get a run-time error 1004 - PasteSpecial method of Range class failed when executing the macro with the button in the sheet "Import".

    Can someone help me to find out what I'm doing wrong? You can find the Workbook here:

    https://www.dropbox.com/s/w739aecyyo...PORT.xlsm?dl=0

  2. #2
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Copy visible cells to other worksheet

    Hi etaver87,

    You may try this.
    If the code helped you, please add reputation me "*"

    Please Login or Register  to view this content.
    1. Thank those who have helped you by clicking the Star * below the post.
    2. Please mark your post [SOLVED] if it has been answered satisfactorily.

    Sincerely,
    Farid

  3. #3
    Registered User
    Join Date
    02-12-2016
    Location
    Zurich, Switzerland
    MS-Off Ver
    MS Office 2013
    Posts
    94

    Re: Copy visible cells to other worksheet

    It works only partially. It doesn't copy the values (I get only 0's) and links aren't copied either.

  4. #4
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Copy visible cells to other worksheet

    hi,

    maybe this?

    Please Login or Register  to view this content.

+ 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. how to copy from visible cells to visible cells
    By guhaseelan in forum Excel General
    Replies: 2
    Last Post: 04-16-2014, 09:32 AM
  2. Copy And Paste visible Sheets and from second worksheet
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-20-2013, 03:59 AM
  3. [SOLVED] Copy and Paste Visible Cells Only to another Worksheet
    By excelnoob808 in forum Excel General
    Replies: 8
    Last Post: 05-30-2013, 03:28 PM
  4. [SOLVED] Copy/Pasting Values from visible cells (using autofilter) to visible cells
    By evakotsi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2012, 07:49 AM
  5. [SOLVED] can only copy/select visible cells w autofilter on &hidden columns, want to copy all cells
    By JTwrk in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-25-2012, 02:12 AM
  6. Copy Visible cells and paste values only to visible target cells
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2010, 04:09 AM
  7. Visible rows copy to different worksheet
    By Craigm in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-01-2005, 04:25 AM

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