+ Reply to Thread
Results 1 to 3 of 3

How do you reset an Excel Spreadsheet after Saving/Closing

  1. #1
    Registered User
    Join Date
    05-22-2022
    Location
    Texas City, TX
    MS-Off Ver
    2016
    Posts
    30

    How do you reset an Excel Spreadsheet after Saving/Closing

    Here's my latest quest from my friend who keeps asking for more stuff to be done to his work spreadsheet.

    He wants a blank spreadsheet for the users to access each work shift.

    However, the name of the spreadsheet file must be retained and not changed.

    Basically here's how I've set it up:
    His workers will input the info during their shift and close the spreadsheet when the shift is over, it automatically saves and emails him the spreadsheet.

    He wants:
    The next day when the worker arrives to be able to have a blank spreadsheet to access and enter the data into.

    Is this even possible without creating a long list of excel files or should they just clear the data (won't be easy because the sheet is protected and only enterable fields are accessible)

    Maybe there's a quick solution that I haven't thought of yet.

    I'll stop here, I think I'm rambling on.
    Thanks for any help.
    Brian

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,433

    Re: How do you reset an Excel Spreadsheet after Saving/Closing

    I would suggest that you use the Workbook_BeforeClose event handler. Then, when the user CLOSES the file, YOU (your code) SAVES the file, emails the saved file, and then it clears the workbook down and saves it again.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    05-22-2022
    Location
    Texas City, TX
    MS-Off Ver
    2016
    Posts
    30

    Re: How do you reset an Excel Spreadsheet after Saving/Closing

    I created a command button, thanks for the reply TMS.

+ 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. filter data in spreadsheet by column before saving/closing
    By dori2o in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2020, 09:00 AM
  2. Automatically Saving Certain Columns Upon Closing Excel???? HELP!
    By kated13 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-30-2019, 05:45 AM
  3. Reset Filters when closing or opening excel
    By Millie34 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-11-2016, 09:06 AM
  4. Saving personal workbook before closing excel
    By Thor Almighty in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-14-2015, 06:27 AM
  5. Creating new workbook, saving as csv and then closing - but closing always fails.
    By ella626 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2014, 10:05 PM
  6. [SOLVED] Opening, closing, saving in different Excel versions
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-01-2012, 09:43 AM
  7. [SOLVED] Closing Excel without saving
    By Abs in forum Excel General
    Replies: 9
    Last Post: 12-07-2005, 11:15 AM

Tags for this Thread

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