+ Reply to Thread
Results 1 to 2 of 2

protect the worksheet

  1. #1
    Registered User
    Join Date
    05-03-2006
    Posts
    46

    Question protect the worksheet

    I did a excel file for work, what i want is everybody can open it, but they can't save(save as) or copy it. how can do that?
    Thanx

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482
    here's one from J-Walk's excel for dummies

    Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
    If SaveAsUI Then
    MsgBox "You Cannot save a copy of this workbook!"
    Cancel = True
    End If
    End Sub

    this goes into a workbook module, search excel help if you need to find it

    this won't let you save the workbook when you are in excel......

+ 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