daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 56 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  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