I need to create word documents from an Access Report. Below is the code that I am using. It works but there are problems. The page breaks generated by the report don't always line up just right with where Word wants to break the page. So, sometimes I get one or two lines from the bottom of a page showing up at the top of a headerless page all by themselves. Then the Report page break comes and starts the next page with a header. So a 7-page report might have anywhere from 9 to 12 pages with the extra pages being mostly blank and headerless. I've tried fiddling with the top and bottom margins in the page layout, but it doesn't seem to help. Is there some way to avoid this dilemma?
Thanks.
Private Sub cmdCreateIt_Click()
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Dim stDocName As String
Dim Path As String
Path = DLookup("[Path]", "Region Data") & "\Region_" & DLookup("[Region]", "Region Data")
stDocName = "Selected Terms and Conditions"
DoCmd.OutputTo acReport, stDocName, _
acFormatRTF, Path & "\TCReports\" & Me![PermitNumber] & ".rtf", True
End Sub