Results 1 to 5 of 5

Thread: VBA - Adding/Plus/+/Addition

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2012
    Posts
    18

    VBA - Adding/Plus/+/Addition

    I wonder how I can use a loop that has the plus/adding/+ the two columns values ​​with each other?

    Thank you!

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: VBA - Adding/Plus/+/Addition

    Thread moved from the 'VBScript' forum (which is for code in .vbs files) to the 'Office Development/VBA' forum.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2012
    Posts
    18

    Re: VBA - Adding/Plus/+/Addition

    Quote Originally Posted by si_the_geek View Post
    Thread moved from the 'VBScript' forum (which is for code in .vbs files) to the 'Office Development/VBA' forum.
    Sorry!

  4. #4
    PowerPoster
    Join Date
    Oct 2008
    Location
    Midwest Region, United States
    Posts
    3,574

    Re: VBA - Adding/Plus/+/Addition

    When you say "loop," are you looking for code to do this? If so, why not just use a formula?

  5. #5
    Just a Member! seenu_1st's Avatar
    Join Date
    Aug 2007
    Location
    India
    Posts
    2,170

    Re: VBA - Adding/Plus/+/Addition

    u can use formula in VBA also like this, it's better than looping
    Code:
    MsgBox Application.WorksheetFunction.Sum(Range("A1:B100"))
    it returns SUM of range A1:B100
    Seenu

    If this post is useful, pls don't forget to Rate this post.
    Pls mark thread as resolved once ur problem solved.
    ADO Tutorial Variable types SP6 for VB6, MsFlexGrid fast fill, Sorting Algorithms


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width