I am having difficulty displaying a custom toolbar I created in a template. The toolbar is showing when I save the template, but when a new doc is created from that template the toolbar disappears. I don't want my users to have to open the toolbar on their own.
I attempted to force the toolbar open with the below procedure, which is called when the new document is created, (see beyone this procedure for the code contained in the template's Document_New() procedure). Thanks for any help anyone can provide. John
Public Sub handoutBar()
'This procedure displays the handout toolbar
toggleProtectOff
CommandBars("Handout"
.Visible = True
toggleProtectOn
End Sub
Private Sub Document_New()
If ActiveDocument.ProtectionType <> wdNoProtection Then
toggleProtectOff
End If
' open Course Information Form
frmCourseInformation.Show
' The following procedure is used to update fields in the footers
updateFields
' The following procedure displays the handout bar
handoutBar
End Sub
I attempted to force the toolbar open with the below procedure, which is called when the new document is created, (see beyone this procedure for the code contained in the template's Document_New() procedure). Thanks for any help anyone can provide. John
Public Sub handoutBar()
'This procedure displays the handout toolbar
toggleProtectOff
CommandBars("Handout"
toggleProtectOn
End Sub
Private Sub Document_New()
If ActiveDocument.ProtectionType <> wdNoProtection Then
toggleProtectOff
End If
' open Course Information Form
frmCourseInformation.Show
' The following procedure is used to update fields in the footers
updateFields
' The following procedure displays the handout bar
handoutBar
End Sub