+ Reply to Thread
Results 1 to 3 of 3

Reset Value in cells to 0 after clicking the command button

  1. #1
    Forum Contributor
    Join Date
    10-26-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    133

    Reset Value in cells to 0 after clicking the command button

    I add a value to cells L4,L5,L9,L10,L11,L12,L13,L14,L15
    I have a Comand button, when pushed it sends data to another work sheet in the same workbook. After I push the command button I would like the value in the cells listed above to return to 0. What can I do to the code listed below to make this happen?


    Please Login or Register  to view this content.
    Moderators Note: Please follow Forum Rule #3 and use code tags. Added this time, but please use them in the future…Thanks.
    Last edited by jeffreybrown; 12-27-2012 at 11:18 AM.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Reset Value in cells to 0 after clicking the command button

    Just add this at the very end of your code. You will need to change the sheet name to be whatever the sheet name in which you want to change the values is.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    10-26-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    133

    Re: Reset Value in cells to 0 after clicking the command button

    Works great! Thank You

+ 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