Deactivate toolbar DoCmd.ShowToolbar : Report Event « Access « VBA / Excel / Access / Word






Deactivate toolbar DoCmd.ShowToolbar

 
Private Sub Report_Deactivate()

       DoCmd.ShowToolbar "AllOrders", acToolbarNo

End Sub

 








Related examples in the same category

1.Sub Report_Open(Cancel As Integer)
2.Sub Report_Close()
3.Sub Report_NoData(Cancel As Integer)
4.The Page event gives you the opportunity to do something immediately before the formatted page is sent to the printer: place a border around a page
5.Report Error Event
6.Report Open event
7.Activate toolbar with DoCmd.ShowToolbar
8.Close form without saving