+ Reply to Thread
Results 1 to 7 of 7

column reset button to default column value to 0

  1. #1
    Registered User
    Join Date
    04-08-2011
    Location
    cork
    MS-Off Ver
    Excel 2003
    Posts
    5

    column reset button to default column value to 0

    Hi Guys,
    How would i implement a reset button that sets all the values in eg C1:C10 to 0 and also how would I implement a calculate button that is positioned at C11 to add the values of C1:C10 and stick the total in say D10?

    Thanks

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: column reset button to default column value to 0

    hi, Howster, please check attachment, click the buttons on the Sheet1
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-08-2011
    Location
    cork
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: column reset button to default column value to 0

    THANK YOU SOOOOOO MUCH! Perfect! Just gotta find where the code in the macro now is Excel 2007 has me all confussssed and muxed up.

  4. #4
    Registered User
    Join Date
    04-08-2011
    Location
    cork
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: column reset button to default column value to 0

    Hi Guys,
    Gotta change something small:
    In
    Please Login or Register  to view this content.
    How to I amend the above to omit the [f136] part. I just want the range f1:f135 set to zero for another issue

    THANKS
    Last edited by howster; 04-08-2011 at 05:14 PM.

  5. #5
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: column reset button to default column value to 0

    please amend the posted code under Forum rules.

    You need to put it this way:

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    04-08-2011
    Location
    cork
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: column reset button to default column value to 0

    Thanks again!

    This worked perfect:

    Please Login or Register  to view this content.
    Last question, Is it possible to run a macro in a protected sheet. I dont want the user corrupting some formulaes in the cells.
    Thanks

  7. #7
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: column reset button to default column value to 0

    to protect sheet:

    Please Login or Register  to view this content.
    to unprotect sheet:

    Please Login or Register  to view this content.

+ 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