+ Reply to Thread
Results 1 to 3 of 3

Click macro and then subtract from/add to the next cell clicked

  1. #1
    Registered User
    Join Date
    09-29-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    73

    Click macro and then subtract from/add to the next cell clicked

    Hi

    I want to have a macro where the following happens:
    • Click macro
    • The Next cell the user clicks it will subtract 1 from the number in that cell
    • The next cell the user clicks it will add 1 to the number in that cell
    • Macro will then stop

    Is this possible?

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Click macro and then subtract from/add to the next cell clicked

    Try the following sample:
    Attached Files Attached Files
    Gary's Student

  3. #3
    Registered User
    Join Date
    09-29-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Click macro and then subtract from/add to the next cell clicked

    Quote Originally Posted by Jakobshavn View Post
    Try the following sample:
    Thanks for the quick response but the macro didn't do anything (I also tried a new button but no difference). Any ideas?

+ 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. A macro to right click a cell and select a item from the right click menu?
    By Peavey in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-13-2014, 10:55 AM
  2. Copy double-clicked cell to next empty row in different sheet with each double-click
    By erhathaway in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-25-2013, 12:06 AM
  3. [SOLVED] Load web image when cell holding URL is clicked/double-clicked
    By jchamber00 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2013, 09:13 PM
  4. check box is clicked and click ok will call macro
    By pichai in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-18-2008, 09:08 AM
  5. How can I identify what cell was clicked on when I click on a butt
    By san jose native in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-30-2005, 10:05 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