+ Reply to Thread
Results 1 to 3 of 3

Hide Standard Buttons & Stop Work Sheet flashing

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-07-2008
    Location
    sCOTLAND
    MS-Off Ver
    Office 2003 SP3
    Posts
    256

    Hide Standard Buttons & Stop Work Sheet flashing

    Hi I have a spreadsheet I use for work it has to be published as a shared book so various people can use it. I have a couple of issues.

    1: Is their anyway I can get rid of the File, Edit, View, etc buttons at the top of the document so everyone that opens it can not see them? and also the save button, the idea is they have to use the button to save the sheet.

    2: I have a button on the sheet with a macro that saves the sheet once it has been worked on, the sheet flashes when this button is clicked is there any way I can stop the sheet flashing ?
    Last edited by JimmiOO; 03-11-2009 at 04:36 AM.

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: Hide Standard Buttons & Stop Work Sheet flashing

    Good afternoon JimmiOO
    Quote Originally Posted by JimmiOO View Post
    1: Is their anyway I can get rid of the File, Edit, View, etc buttons at the top of the document so everyone that opens it can not see them? and also the save button, the idea is they have to use the button to save the sheet.
    Use this code called from a Workbook_Open event to hide them, and then again from a Workbook_BeforeClose event to reinstate them :
    Application.CommandBars("Worksheet Menu Bar").Enabled = False 'Hide toolbar
    Application.CommandBars("Worksheet Menu Bar").Enabled = True  'Show toolbar

    Quote Originally Posted by JimmiOO View Post
    2: I have a button on the sheet with a macro that saves the sheet once it has been worked on, the sheet flashes when this button is clicked is there any way I can stop the sheet flashing ?
    Dunno, we'd have to se your code to be sure, but first try disabling screen updating, and restoring it again at the end :
    Sub MyMacro()
    Application.ScreenUpdating = False
    
    '   Your macro code goes here
    
    Application.ScreenUpdating = True
    End Sub
    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Forum Contributor
    Join Date
    07-07-2008
    Location
    sCOTLAND
    MS-Off Ver
    Office 2003 SP3
    Posts
    256

    Re: Hide Standard Buttons & Stop Work Sheet flashing

    Thanks very much that sorted my problems out.

+ 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