+ Reply to Thread
Results 1 to 3 of 3

Add fixed number to cell value on each macro run

  1. #1
    Registered User
    Join Date
    11-09-2006
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    200

    Add fixed number to cell value on each macro run

    Hello!
    I hope you can help me create a macro that will add 1 to the value of the A1 cell on a worksheet – up to a certain number (say 20). This way each time you run a macro it will add 1 to A1 and if it is 20 – it will show the message that the operation is over.
    Thanks a lot for your time!)
    Dima

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Add fixed number to cell value on each macro run

    Hi,

    Add the following as the first lines of the macro you are running

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    11-09-2006
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    200

    Re: Add fixed number to cell value on each macro run

    thanks))))))))))

+ 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