+ Reply to Thread
Results 1 to 3 of 3

Take values from multi sheet and copy to a summary page

  1. #1
    Registered User
    Join Date
    03-20-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    10

    Take values from multi sheet and copy to a summary page

    I have a workbook that has multiple sheets, which have values including ones based on formulas. I need to copy only the cells with values not the cells with formulas.

    See the attached example workbook.

    What I want on the summary sheet is only rows with values not formulas. I have a formula in A3:A40 and G3:G40. The code I have is pulling all rows 3 to 40 and copying to the summary sheet, I only want the rows that have data.

    I think it might be in the function Lastrow and Lastcolumn but when I tried change LookIn:=x1 Formulas to Lookin:=x1 Values , it ran until I reached the point to paste to the summary sheet then I got an error.
    Attached Files Attached Files

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Take values from multi sheet and copy to a summary page

    it is not x1 but xl (letter "L" not number "1") xlvalues/xlformulas
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Registered User
    Join Date
    03-20-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    10

    Re: Take values from multi sheet and copy to a summary page

    That was just a typo in the comments.
    The code works and is correct.
    I just need to know how to make it only copy the values. because it is copying everything as it is now.

+ 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 Range Name Values from Each Sheet to Summary Sheet
    By Branbran10 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-09-2015, 05:53 PM
  2. Multi sheet workbook, with Summary page
    By twix in forum Excel General
    Replies: 5
    Last Post: 01-09-2014, 07:29 PM
  3. [SOLVED] How to get text from multiple work sheet to go on a summary page after calulating values
    By cher062 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-01-2014, 06:30 PM
  4. [SOLVED] Summary sheet - copy cell contents from multiple sheets to one summary sheet
    By jsmity in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2013, 10:32 AM
  5. Replies: 3
    Last Post: 10-19-2011, 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