+ Reply to Thread
Results 1 to 2 of 2

Add/Subtract cell value using Option Button

  1. #1
    Registered User
    Join Date
    06-21-2016
    Location
    Singapore
    MS-Off Ver
    Excel
    Posts
    1

    Add/Subtract cell value using Option Button

    Hi,

    Im not an expert on this vba excel but i have this user form for my parts inventory.
    I want to keep the file to be updated once a part is withdrawn or added.

    when someone wants to withdraw/deposit a part it will use the user form to display the part details and enter the amount need to withdraw/deposit.
    Capture.JPG

    user will select on the option button either adding or taking out.
    Then will click submit to add or subtract the amount entered
    the new value will be reflected on the excel file

    Thanks.....



    This is my code:


    ----------------------------------------------------------------------------------------
    Please Login or Register  to view this content.
    ----------------------------------------------------------------------------------------

    **NOTE: IM NOT SURE IF THIS CODE IS CORRECT***

    Please Login or Register  to view this content.
    Last edited by vlady; 06-22-2016 at 07:31 PM. Reason: Added Code tags

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Add/Subtract cell value using Option Button

    Welcome to the forum.

    When posting codes please use code tags.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] 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

    Since this is your first post I will do it for you.

    Regards,
    Vladimir
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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. Command Button to Add/Subtract Stock Cell Value
    By Ryola in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2015, 05:59 PM
  2. [SOLVED] option button to cell
    By Quicksnot in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-25-2014, 10:50 AM
  3. Button Macro to Subtract values from another cell
    By mdoverl in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-15-2014, 06:42 PM
  4. [SOLVED] Deactivate option button and cell
    By mani_bbc05 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-24-2013, 06:11 PM
  5. Option Button to Unprotect Cell
    By jrg123 in forum Excel General
    Replies: 0
    Last Post: 07-18-2012, 04:13 PM
  6. cell as option button
    By xenon_aniki in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-11-2009, 02:52 AM
  7. Help to get values from 3 option button in one cell
    By Valeriy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2005, 09:28 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