Susan Harkins
ssharkins at gmail.com
Tue Mar 31 15:12:24 CDT 2009
Private Sub Command0_Click() 'Hide 2007 Ribbon. DoCmd.ShowToolbar "Ribbon", acToolbarNo End Sub Private Sub Command1_Click() 'View 2007 Ribbon. DoCmd.ShowToolbar "Ribbon", acToolbarYes End Sub Trying to apply these and both arguments generate a run-time error in Word 2007 -- says variable not defined. The Office 12 Object Library is referenced. Works fine in Access 2007 -- is this capability not available in all the 2007 apps? Susan H.