+ Reply to Thread
Results 1 to 4 of 4

Prevent to click save button

  1. #1
    Registered User
    Join Date
    10-09-2005
    Posts
    16

    Prevent to click save button

    Hi,

    I created one Excel file (Shared file).

    But, I just want to let the user access it without saving the values in the worksheets.
    How can I prevent the user to save the values on the worksheets? Because if the user click on save button on the menu bar, then the values will be updated on the worksheets, if any other user access the file at the same time, then they will see the values, because I am using Shared mode (I used it because I want to skip the message when opening file "Read only........")

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Hi, paste this in to the ThisWorkBook module:
    Please Login or Register  to view this content.
    it will prevent save and save as.

    Regards,
    SImon

  3. #3
    Registered User
    Join Date
    10-09-2005
    Posts
    16
    can I just prevent to save, whereas SaveAs is allowed?

  4. #4
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Try removing the "If SaveAs..." statement!

+ 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