Article ID: 202056
Article Last Modified on 10/11/2006
Private Sub ReportHeader_Format(Cancel As Integer, _ FormatCount As Integer) Me!MyTitle.OleData = Forms!frmRunReport!CustomTitle.OleData End Sub
Form: frmRunReport ------------------------------------------------------ Caption: Run Report Unbound Object frame (Microsoft Word Document object): Name: CustomTitle Locked: No Enabled: Yes Command button: Name: RunReport Caption: Run Report OnClick: [Event Procedure]
Private Sub RunReport_Click() DoCmd.OpenReport "Custom Sales by Category", acViewPreview End Sub
226118 OFF2000: Programming Resources for Visual Basic for Applications
Additional query words: heading
Keywords: kbhowto kbprogramming KB202056