Dunkel w som ny Word.Application
Dunkel doc som Word.Document
filePath = ”c:\. \ test.doc”,
filePathTxt = ”c:\. \ test.txt”,
Uppsättning doc = w.Documents.Open (filePath)
doc.SaveAs-FileName: =filePathTxt FileFormat: =wdFormatText _,
LockComments: =False lösenord: = "", AddToRecentFiles: =True WritePassword _,
: = "", ReadOnlyRecommended: =False EmbedTrueTypeFonts: =False _,
SaveNativePictureFormat: =False SaveFormsData: =False SaveAsAOCELetter: = _,
Falskt och att koda: =1252 InsertLineBreaks: =False AllowSubstitutions: =False_,
, LineEnding: =wdCRLF
|