+ Reply to Thread
Results 1 to 5 of 5

Reset Button

  1. #1
    Registered User
    Join Date
    05-08-2012
    Location
    Buckingham
    MS-Off Ver
    365
    Posts
    21

    Reset Button

    Hi
    I have a spin up and spin down button to add and decrease rows on spreadsheet but on close I want it to return to maximum number of rows.

    Thanks in advance

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,633

    Re: Reset Button

    You shall probably have some code for Before_Close event, but exact implementation depends on mechanism used for spinup/doen button action, so attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    05-08-2012
    Location
    Buckingham
    MS-Off Ver
    365
    Posts
    21

    Re: Reset Button

    he arrows at the top increase and reduce amount of rows used I want it to reset to the maximum no of rows on close or clear
    Attached Files Attached Files

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,633

    Re: Reset Button

    After brief look on the file, I think the appropriate place will be Workbook_Open event handler (in ThisWorkbook code):
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-08-2012
    Location
    Buckingham
    MS-Off Ver
    365
    Posts
    21

    Re: Reset Button

    Thank you very much for your help.

+ 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. Create running stopwatch/timer with 1 button (start/stop). No reset button.
    By leeroy2612 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-26-2021, 12:59 AM
  2. Reset Button
    By alvstar2001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2013, 06:03 AM
  3. Reset Button
    By agoo20 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-06-2011, 04:02 AM
  4. Reset Button
    By va33eric in forum Excel General
    Replies: 4
    Last Post: 07-16-2008, 10:52 PM
  5. Reset Button
    By Laker555 in forum Excel General
    Replies: 0
    Last Post: 08-01-2007, 12:33 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