+ Reply to Thread
Results 1 to 2 of 2

Sum up the column and export

  1. #1
    Registered User
    Join Date
    02-15-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    7

    Sum up the column and export

    Hey guys,

    I am new here, and trying to program a macro for work and I am not the best with excel

    -I need a macro to sum columns C through J from the second line to the end of the columns. Basically the sum formula needs to be in the first empty row because the Number of rows changes on a daily basis.
    - next I need to copy and paste special the value the result of that row in a need sheet.

    I try to record the macro but since the number of line changes on a daily basis it does not work. I found a macro that brings me to the first empty cell in colum C, but I still need to sum that cell and auto fill to column J. Then export.

    Is it possible? I appreciate any help

    Thank you
    Last edited by Tttbone; 02-15-2013 at 01:06 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Sum up the column and export

    No details were given on where the data was being copied to, so I just pasted it onto Sheet2 in the next empty row as an example for you:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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