+ Reply to Thread
Results 1 to 8 of 8

How to force toolbar view options when opening and closing

  1. #1
    Forum Contributor
    Join Date
    10-16-2008
    Location
    San Diego
    Posts
    109

    How to force toolbar view options when opening and closing

    Excel 2003

    I want the user(s) if one file to be able to open it WITHOUT seeing task pane, formatting tool bar, Standard tool bard and any other tool bar they may have in their personal excel environment.
    I want it to ONLY apply to this file
    In other words when they open a new (or other existing excel document) they get all their normal tool bars.

    Is this doable? and I am guessing it would be a coded solution?

    Any help here will be appreciated.

    Thanks in advance
    duce
    Last edited by ducecoop; 11-19-2008 at 06:37 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You can do this with VBA, but you need to be extremely careful that you reset all settings back to the original, otherwise you end up with extremely annoyed users.
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    10-16-2008
    Location
    San Diego
    Posts
    109
    Quote Originally Posted by royUK View Post
    You can do this with VBA, but you need to be extremely careful that you reset all settings back to the original, otherwise you end up with extremely annoyed users.
    I understand - Kinda like "Set warnings" in Access.

    Can you tell me how to turn them off at opening
    and
    how to turn them back on at closing

    Thanks

  4. #4
    Forum Contributor
    Join Date
    10-16-2008
    Location
    San Diego
    Posts
    109
    OK - I have be playing around with this but not working as expected.

    On the workbook OPEN
    Please Login or Register  to view this content.
    On workbook CLOSE

    Please Login or Register  to view this content.
    They do not seem to be working on the same tool bars


    EDIT:
    Tried this also
    [code]
    Application.CommandBars("Standard").Enabled = False
    Application.CommandBars("Formating").Enabled = False
    [\code]

    What am I getting wrong?
    Last edited by ducecoop; 11-19-2008 at 03:35 PM. Reason: Changed the \ to / for code tags

  5. #5
    Forum Contributor
    Join Date
    10-16-2008
    Location
    San Diego
    Posts
    109
    Well I have gone a screwed my application testing the above.

    Can't seem to get the formatting tool bar back.

    Can someone please tell me how to code this correctly
    AND
    turn them back on correctly

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Quote Originally Posted by ducecoop View Post
    Well I have gone a screwed my application testing the above.

    Can't seem to get the formatting tool bar back.

    Can someone please tell me how to code this correctly
    AND
    turn them back on correctly
    This is the reason that I would recommend you don't do this

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Here's an example, but use at your own risk

    Dictator Application

  8. #8
    Forum Contributor
    Join Date
    10-16-2008
    Location
    San Diego
    Posts
    109
    Quote Originally Posted by royUK View Post
    Here's an example, but use at your own risk

    Dictator Application

    Thank you
    I will give it a try

+ 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