+ Reply to Thread
Results 1 to 5 of 5

Disable functions for workbook only?

  1. #1
    Registered User
    Join Date
    09-25-2007
    Posts
    13

    Disable functions for workbook only?

    I've been using the following types of commands to disable cut, copy, paste, activities within a spreadsheet:

    Please Login or Register  to view this content.
    When the user closes the workbook, I want to restore those functions, however Excel seems to hold the settings until I restart the application. I know that I can write a macro to switch everything back on just before the workbook closes, but I'm wondering if there's a way to structure the commands so that they apply to the workbook only.

    Any advice is appreciated.

  2. #2
    Forum Contributor
    Join Date
    03-23-2007
    Location
    Essex, UK
    MS-Off Ver
    Office Pro 2010
    Posts
    275
    If your using a macro on opening to disable these functions, why would you want to turn the functions back on when closing, because surely when you open the workbook again its gonna disable them again ?

  3. #3
    Registered User
    Join Date
    09-25-2007
    Posts
    13
    Some spreadsheets require the use of security features, but most do not. I've built those features into the required workbooks, and they are enabled when the workbook is opened. When the user is finished with that workbook, I want them to have full access to the application features for the rest of their activities.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Registered User
    Join Date
    09-25-2007
    Posts
    13
    Thanks. This is all good information. I'll review and see if I can make this work for me.

    I've noticed several security macros disable the +DEL and either +INSERT or ^INSERT key combinations? Why is this? What do these combinations allow the user to do?

    If I'm following it correctly, the ^ symbol represents the CTRL key. Is the + symbol just a shorthand that mean anykey + anyotherkey?
    Last edited by ajwhipple; 10-31-2007 at 01:28 PM.

+ 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