Consulting

Results 1 to 2 of 2

Thread: Is it possible to use vba to automate a count on recurring data?

  1. #1
    VBAX Mentor
    Joined
    Aug 2010
    Posts
    457
    Location

    Is it possible to use vba to automate a count on recurring data?

    Hi, is it possible to automate a count to work out the amount of new data added to existing data by writing a macro to a button, and by clicking on the button the count will automatically count the figures and round up a total. Is it possible to do this, if so how can this be done? Would you have any example code how to this?


    Thanks for your contributions

  2. #2
    VBAX Regular
    Joined
    Feb 2011
    Posts
    75
    Location

    Yes, you can do that

    Hello,
    basically, yes, that's possible. Depends on how complicated you want it. Assuming the button is on the sheet, and there are no gaps (i.e. empty rows) in the values you want to add up, and assuming that your values are in column C, check out the attached workbook.

    Greetings,
    Isabella
    Attached Files Attached Files

Posting Permissions

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