+ Reply to Thread
Results 1 to 9 of 9

Copy visible cells

  1. #1
    Forum Contributor
    Join Date
    06-14-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    186

    Copy visible cells

    Hi,

    How do I copy a filtered list where some of my values contain formulas?

    I tried doing

    Please Login or Register  to view this content.
    but it says no cells were found

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Copy visible cells

    A cell can't be a formula and a constant, so I don't really see what you're trying to do. Which cells do you want to copy?
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Contributor
    Join Date
    06-14-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    186

    Re: Copy visible cells

    Here is my data - the cell highlighted in yellow is a formula based.
    I know want to copy the filtered data into a new workbook.
    How do I do this? because when I used specialcells(xlcelltypevisible) it does not capture the cell with formula
    Attached Images Attached Images

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Copy visible cells

    Please Login or Register  to view this content.
    will copy all visible cells in that range

  5. #5
    Forum Contributor
    Join Date
    06-14-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    186

    Re: Copy visible cells

    Ok, thank you..... maybe something wrong with the way I am pasting, I want to paste exactly like it shows on the filtered list but it's showing #Value in the cell that contains formula and the yellow highlight is missing......

  6. #6
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Copy visible cells

    I assume you are pasting the formula but it doesn't work due to the new location. What is the formula, and do you still need it to be a formula? If not, paste the formats then paste the values.

  7. #7
    Forum Contributor
    Join Date
    06-14-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    186

    Re: Copy visible cells

    Thanks xlnitwit - I just need to paste the formats and then the values, like you suggested.

  8. #8
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Copy visible cells


    Hi !

    As a main reminder, no need SpecialCells as Range.Copy method works only with visible cells ! …

  9. #9
    Forum Contributor
    Join Date
    06-14-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    186

    Re: Copy visible cells

    Just tried this out Marc and it works!
    Cheers.

+ 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. Copy Visible cells and paste values only to visible target cells
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-20-2024, 12:01 AM
  2. Copy-Paste formatting of visible cells to visible cells
    By hansaaa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2018, 04:29 PM
  3. 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
  4. [SOLVED] Copy Filter Data and paste it on another workbook with special cells(Only Visible Cells)
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-13-2014, 07:59 AM
  5. [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
  6. [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
  7. Copy on visible cells only ...
    By Sige in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-26-2005, 05:19 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