Total Visual SourceBook

Total Visual SourceBook CD and Printed Manual

Microsoft Access/ Office 2016, 2013, 2010, and 2007 Version
is Shipping!

New features in Total Visual SourceBook for Access, Office 2007 and VB6

Supports Access/Office 2016, 2013, 2010 and 2007, and Visual Basic 6.0!

Separate version for Access/Office 2003, 2002, and 2000.

Separate version for:
Access 97/95


View all FMS products for Microsoft AccessAll Our Microsoft Access Products

SourceBook Info:

Why SourceBook?

 

"The code is exactly how I would like to write code and the algorithms used are very efficient and well-documented."

Van T. Dinh, Microsoft MVP

 

 

 

Microsoft Access, Office/VBA, VB6 Modules royalty-free source code libraryMicrosoft Access Modules royalty-free source code libraryMicrosoft Access VBA and VB6 Module Library Free trial of Total Visual SourceBook for Microsoft Access, Office, VB6 and VBA

Module: Ribbons in Category Microsoft Access : Environment from Total Visual SourceBook

Manage the Access Ribbons to show, hide, minimize, maximize, and toggle it with Access VBA.

Procedure List

Procedure Name

Type

Description

(Declarations) Declarations Declarations and private variables for the modRibbons module
HideRibbon Procedure Hide the ribbon
ShowRibbon Procedure Show the ribbon
IsRibbonMaximized Procedure Is the ribbon in maximized mode?
MaximizeRibbon Procedure Maximize the ribbon so you can see all the options
MinimizeRibbon Procedure Minimize the ribbon so you have more vertical workspace
ToggleRibbon Procedure Toggle between the minimized and maximized displays of the ribbon

Example Code for Using Module: Ribbons

' Example of modRibbons
'
' To try this example, do the following:
' 1. Create a new form
' 2. Add the following command buttons to the form:
'       cmdMax
'       cmdMin
'       cmdToggle
'       cmdIsMax
'       cmdHide
'       cmdShow
' 3. Paste this code into the form's module

Private Sub cmdHide_Click()
  HideRibbon
End Sub

Private Sub cmdIsMax_Click()
  MsgBox "Maximized Status: " & IsRibbonMaximized()
End Sub

Private Sub cmdMin_Click()
  MinimizeRibbon
End Sub

Private Sub cmdMax_Click()
  MaximizeRibbon
End Sub

Private Sub cmdShow_Click()
  ShowRibbon
End Sub

Private Sub cmdToggle_Click()
  ToggleRibbon
End Sub

Private Sub Form_Load()
  Me.cmdHide.Caption = "Hide Ribbon"
  Me.cmdIsMax.Caption = "Is Ribbon Max"
  Me.cmdMax.Caption = "Maximize Ribbon"
  Me.cmdMin.Caption = "Minimize Ribbon"
  Me.cmdShow.Caption = "Show Ribbon"
  Me.cmdToggle.Caption = "Toggle Ribbon"
End Sub

Microsoft Access Module LibraryOverview of Total Visual SourceBook

The source code in Total Visual SourceBook includes modules and classes for Microsoft Access, Visual Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily add this professionally written, tested, and documented royalty-free code into your applications to simplify your application development efforts.

Additional Resources