+ Reply to Thread
Results 1 to 2 of 2

Subtract range via vba

  1. #1
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Subtract range via vba

    Hello,

    I'm working on the code that use value from E16 to E46 from workbook 1 subtract value E16 to F46 from workbook 2 return value at G16 to G46 from workbook 2.

    G16(worksheet2)= E16(worksheet1) - E16(worksheet2)- F16(worksheet2) and the formula extend to G46

    This is my code and it did not work

    Please Login or Register  to view this content.
    Please help

    Thanks

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

    Re: Subtract range via vba

    I am not 100% sure, but you can only add individual cells, not a range.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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