+ Reply to Thread
Results 1 to 6 of 6

xlTotalsCalculationSum

  1. #1
    Registered User
    Join Date
    04-06-2020
    Location
    South africa, Pretoria
    MS-Off Ver
    2013
    Posts
    22

    xlTotalsCalculationSum

    ActiveSheet.ListObjects("Table_pastel_12_cust_rank").ListColumns("2019-032"). _
    TotalsCalculation = xlTotalsCalculationSum





    Hi there

    below is my macrofrom a sheet where i import data from mysql database. the field names are not always the same and keeps changing. thus above example will not help me.



    I need something like to make the calculation - show totals auto sum for column c.



    ActiveSheet.ListObjects("$C").ListColumns("$C"). _
    TotalsCalculation = xlTotalsCalculationSum


    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: xlTotalsCalculationSum

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    04-06-2020
    Location
    South africa, Pretoria
    MS-Off Ver
    2013
    Posts
    22

    Re: xlTotalsCalculationSum

    Thanks you thank you - worked 100%

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,390

    Re: xlTotalsCalculationSum

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As yo u re new here, I have done it for you this time.)

    https://www.ozgrid.com/forum/index.p...alculationsum/
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    04-06-2020
    Location
    South africa, Pretoria
    MS-Off Ver
    2013
    Posts
    22

    Re: xlTotalsCalculationSum

    Hi there

    Same query different problems.

    As i learns you cannot add to first query if it is a different problem all together?

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,390

    Re: xlTotalsCalculationSum

    Post #1 in this thread:

    Hi there

    below is my macrofrom a sheet where i import data from mysql database. the field names are not always the same and keeps changing. thus above example will not help me.

    I need something like to make the calculation - show totals auto sum for column c.
    From your thread on OzGrid:

    Hi there

    below is my macrofrom a sheet where i import data from mysql database. the field names are not always the same and keeps changing. thus above example will not help me.

    I need something like to make the calculation - show totals auto sum for column c.
    https://www.ozgrid.com/forum/index.p...alculationsum/

    AND on Mr Excel here: https://www.mrexcel.com/board/thread...ation.1129796/

    This is called multiple cross-posting: see forum rule #3, which tells you that you are required to declare cross-posts. You did not do so, which is why your cross-posting was reported and I, as a moderator, dealt with it above. All three of these forums have the same cross-posting rule.

    Read this to understand why we have an issue with undeclared cross-posting: https://www.excelguru.ca/content.php?184
    Last edited by AliGW; 04-07-2020 at 08:49 AM.

+ 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