Results 1 to 7 of 7

Show ribbon when switching workbooks

Threaded View

dantray02 Show ribbon when switching... 01-09-2014, 09:37 AM
GC Excel Re: Show ribbon when... 01-09-2014, 10:06 AM
dantray02 Re: Show ribbon when... 01-09-2014, 10:15 AM
dantray02 Re: Show ribbon when... 01-09-2014, 10:22 AM
Olly Re: Show ribbon when... 01-09-2014, 10:13 AM
dantray02 Re: Show ribbon when... 01-09-2014, 10:21 AM
dantray02 Re: Show ribbon when... 01-09-2014, 10:47 AM
  1. #1
    Registered User
    Join Date
    01-08-2014
    Location
    wigan
    MS-Off Ver
    2007
    Posts
    78

    Show ribbon when switching workbooks

    hi,

    I have a workbook that hides the ribbon, formula bar, etc on opening. What I would like to do is show all the hidden aspects when switching to another workbook, but when I go back to my workbook it hides everything again.

    My code to hide is:

    Sub hideribbon()
    Application.DisplayFormulaBar = False
    ActiveWindow.DisplayHeadings = False
    Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",false)"
    End Sub
    thanks,
    dan

    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. See rule #3. I have added code tags because you are still a new user. --6StringJazzer
    Last edited by 6StringJazzer; 01-09-2014 at 10:10 AM. Reason: code tags

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Switching between Workbooks
    By voro in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-17-2012, 10:33 AM
  2. Switching between workbooks
    By trillium in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2010, 09:07 AM
  3. Switching between workbooks
    By toocold in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-24-2007, 08:22 AM
  4. switching between workbooks
    By dabith in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-08-2006, 07:45 PM
  5. [SOLVED] Switching between workbooks
    By Jim in forum Excel General
    Replies: 3
    Last Post: 05-06-2005, 12:06 PM

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