I do not know anything about writing code, but code builder sometimes helps. I am trying to follow what it suggests, but it keeps telling me it is expecting an = somewhere. I used ghudson's code to hide all toolbars and I want to add a custom toolbar to my report previews. The custom toolbar is called "Print Report". Here is the code that isn't working to show this custom toolbar. Can anyone fix it for me?
Private Sub Report_Open(Cancel As Integer)
DoCmd.ShowToolbar(Print_Report, [Show As AcShowToolbar = acToolbarYes])
End Sub
Extremely grateful for any help at all,
Carly
Private Sub Report_Open(Cancel As Integer)
DoCmd.ShowToolbar(Print_Report, [Show As AcShowToolbar = acToolbarYes])
End Sub
Extremely grateful for any help at all,
Carly