+ Reply to Thread
Results 1 to 8 of 8

Getting Error =sum(#ref ) when trying to copy Ranges of cells to another workbook

  1. #1
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    985

    Getting Error =sum(#ref ) when trying to copy Ranges of cells to another workbook

    Hello All,

    I am getting Error =sum(#ref ) when trying to copy Range of cells to another workbook

    Below are the workbooks The code used in 2016MonthlyGoalsMasterAveragesV1.0 is
    Please Login or Register  to view this content.
    Hopefully there is a solution!

    Best Regards,

    John
    Last edited by JJFletcher; 04-01-2016 at 01:23 PM. Reason: Grammer

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Getting Error =sum(#ref ) when trying to copy Ranges of cells to another workbook

    The formulas in col N refer to values in col F. If you copy those formulas to col F, they reference cells off the left edge of the worksheet.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    985

    Re: Getting Error =sum(#ref ) when trying to copy Ranges of cells to another workbook

    Thanks SHG,

    How then should I write the code so only the number transfers to the workbook ignoring the Formula portion of the Code that is associated with that cell?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Getting Error =sum(#ref ) when trying to copy Ranges of cells to another workbook

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    985

    Re: Getting Error =sum(#ref ) when trying to copy Ranges of cells to another workbook

    SHG,

    Works perfectly - Thanks so much...

    I am having to create a new workbook for each month and manipulating the code in the MasterAverages workbook to transfer data for that month to the Master... Is there a way to work within the same workbook and just change the month as needed... If not, changing the code from one month to the next isn't the worst thing to happen but looking to make it easier...

    John

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Getting Error =sum(#ref ) when trying to copy Ranges of cells to another workbook

    Other than looking at the first workbook for 30 seconds to understand the problem, I don't know what you're trying to do.

    As a completely general comment, my first inclination would be to figure out how to put ALL of the data on a single worksheet, and then use filters, pivot tables, whatever, to extract the data you need for a given report.

  7. #7
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    985

    Re: Getting Error =sum(#ref ) when trying to copy Ranges of cells to another workbook

    Excellent, I will get right into that...

    Thanks Again So Much,

    John

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Getting Error =sum(#ref ) when trying to copy Ranges of cells to another workbook

    You're welcome, John.

+ 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 Ranges From Second Workbook
    By jquintana83 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-09-2014, 04:59 AM
  2. [SOLVED] Copy two ranges from one workbook to another
    By philips in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2013, 05:23 AM
  3. [SOLVED] VBA Copy Ranges from a Worksheet to a Workbook
    By pinstripe05 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2013, 02:00 PM
  4. Dynamic Ranges error after renaming workbook
    By cross0404 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2013, 07:36 AM
  5. Copy-Paste cells from from 1 workbook to another: Run-time error '438'
    By Mon1aa in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-05-2012, 02:47 PM
  6. Copy ranges to new CSV workbook
    By mcinnes01 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-11-2010, 05:11 AM
  7. copy two ranges from a workbook to another
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-21-2010, 01:08 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