N
Nathan Franklin
hello,
i am trying to call SaveAs to save my document to file...
i use this code
Doc.SaveAs(Application.StartupPath() & "\Reports\" & ReportID & ".doc",
FileFormat:=Word.WdSaveFormat.wdFormatDocument, LockComments:=False,
Password:="", AddToRecentFiles:=True, WritePassword:="",
ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False,
SaveNativePictureFormat:=False, SaveFormsData:=False,
SaveAsAOCELetter:=False)
my problem is, it doesnt save the headers and footers of the pages.... I
have no idea why, but if I do it manually it will save them fine...
The code above it code i got from the word macro recorder, which i recorded
when is aved the file manually....
Could someone please point me in the right direction.
thanks very much
nathan
i am trying to call SaveAs to save my document to file...
i use this code
Doc.SaveAs(Application.StartupPath() & "\Reports\" & ReportID & ".doc",
FileFormat:=Word.WdSaveFormat.wdFormatDocument, LockComments:=False,
Password:="", AddToRecentFiles:=True, WritePassword:="",
ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False,
SaveNativePictureFormat:=False, SaveFormsData:=False,
SaveAsAOCELetter:=False)
my problem is, it doesnt save the headers and footers of the pages.... I
have no idea why, but if I do it manually it will save them fine...
The code above it code i got from the word macro recorder, which i recorded
when is aved the file manually....
Could someone please point me in the right direction.
thanks very much
nathan