Results 1 to 10 of 10

Closing the workbook & saving automatically

Threaded View

  1. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525
    Once the workbook has been saved you can use this, it goes into the workbook module
    Private Sub Workbook_BeforeClose(Cancel As Boolean)
    ThisWorkbook.Saved = True
    
    
    End Sub
    You can set up the workbook to be read only in the tools options, and then use a password if you want to modify the workbook....
    Last edited by davesexcel; 01-25-2008 at 11:59 AM.

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