+ Reply to Thread
Results 1 to 2 of 2

Stop a user from saving the file.

  1. #1
    Forum Contributor
    Join Date
    04-27-2006
    Location
    Cayman Islands
    Posts
    379

    Stop a user from saving the file.

    Hey guys, a few questions this time, any help would be greatly appreciated.

    1. Is it possible to stop a user saving a file, but still be able to save the file using macros?

    2. Is it possible for, when a spreadsheet is loaded, the view to be set so that a selection takes up the screen no matter what the resolution / screen size of the monitor? If so how would I get the macro to run on launch of the sheet?

    3. Is it possible to get a form to pop up on launch of the spreadsheet with a logo and just an ok button to get rid of it?

    4. And finally, I have a cell which is populated from a database report, the project name often contains / \ symbols. I need a cell which is a duplicate of this cell however with the / and \ symbols replaced with the - symbol, is this possible as a worksheet function? Or perhaps when a macro is run some kind of find and replace coding?

    THANKS for ANY help in advance!

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    1.You can use Cancel = True in the Beforesave event of th Workbook to prevent Saving by clicking on the Save button, etc.
    Please Login or Register  to view this content.
    To enable saving by a macro you must set p a Punloc Boolean

    Please Login or Register  to view this content.
    2. I wouldn't mess with user's screen seetings

    3. Create a UserForm to act as a Splash Screen,. In the Workbook_Open event place code to display the form.

    Please Login or Register  to view this content.
    4. Look at the Worksheet Function REPLACE
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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