+ Reply to Thread
Results 1 to 6 of 6

Macro code to sum cells of column

  1. #1
    Forum Contributor
    Join Date
    05-09-2013
    Location
    london
    MS-Off Ver
    Excel 2016
    Posts
    107

    Macro code to sum cells of column

    Hi everyone,

    Can anyone help me getting a macro code that could write in cell G53 the sum of (G3:G52)?

    Thank you all
    Last edited by ropbasuel; 07-27-2014 at 10:35 AM.

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Macro code to sum cells of column

    Try:
    Please Login or Register  to view this content.
    or,
    Please Login or Register  to view this content.
    Cheers, berlan
    Last edited by berlan; 07-27-2014 at 10:31 AM.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,091

    Re: Macro code to sum cells of column

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Macro code to sum cells of column

    try this...

    Please Login or Register  to view this content.

    Don't forget to click *

  5. #5
    Forum Contributor
    Join Date
    05-09-2013
    Location
    london
    MS-Off Ver
    Excel 2016
    Posts
    107

    Re: Macro code to sum cells of column

    Dear berlan, TMS and Vikas_Gautam

    Thank you so much for all your help! It works perfectly!

    Best Regards

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,091

    Re: Macro code to sum cells of column

    You're welcome.

+ 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. [SOLVED] Code with last column and last row to recognize multiple commands through the macro code
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-13-2014, 04:10 PM
  2. Code/Macro that takes fluctuating info in one column and makes static in another column.
    By Sonny Crockett in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-18-2013, 08:36 PM
  3. [SOLVED] Use the column Header to column letter code to set range in Macro
    By capson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-26-2013, 11:06 AM
  4. VBA code to put first two characters from cells in column b to column c
    By bjcowen9000 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-13-2013, 04:31 PM
  5. [SOLVED] Identifying text within column of cells, and applying a generic code in next column
    By ScotsExpat in forum Excel - New Users/Basics
    Replies: 11
    Last Post: 08-16-2012, 01:00 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