daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ' ----------------------------------------------------------------
  2. ' Procedure Name: ToggleRibbon
  3. ' Purpose: Toggle the visibilty of the Excel ribbon and menu bars
  4. ' Procedure Kind: Sub
  5. ' Procedure Access: Public
  6. ' Author: sb172a
  7. ' Date: 7/11/2018
  8. ' ----------------------------------------------------------------
  9. Sub ToggleRibbon()
  10.     Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"", " & CStr(Not Application.CommandBars("Ribbon").Visible) & ")"
  11. End Sub
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top