+ Reply to Thread
Results 1 to 2 of 2

Button that subtracts .76, then subtracts from abother cell

  1. #1
    Registered User
    Join Date
    01-17-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Lightbulb Button that subtracts .76, then subtracts from abother cell

    Hi,
    I've almost figured out how to do what I want but I was hoping someone could give me a hand.

    I've created a two buttons that when pressed add together and minus from another cell. M23 Cell (TOOL LENGTH W EXT) displays a negative number before the button is pressed. I would like this cell to read nothing until this operation of button pressing is performed. I have a IF statement that is giving me the negative number before the button operation is performed "=IF(M22<M21,M22-M21,M22-M21)". Not sure if there is something else i can use to rectify that ? Is there any way to display on the Excel Sheet how many times (.76)or(1.37) button was pressed to arrive at the solution ?

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Capture.PNG
    Attached Images Attached Images
    Last edited by alansidman; 01-18-2014 at 09:41 AM. Reason: code tags

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Button that subtracts .76, then subtracts from abother cell

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (I have added them for you today. Please read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Help with Macro for same-cell accumulator AND that subtracts from elsewhere
    By timstaff in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-30-2013, 07:39 AM
  2. Need to create a formula that either subtracts or displays 0
    By FlowrHuntr in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-09-2013, 04:02 PM
  3. Input cell that subtracts from a cell in another sheet, and then goes blank
    By Ozzmatron in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-14-2012, 01:00 AM
  4. creating a button that adds/subtracts
    By gbWildy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-26-2007, 01:10 PM

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