C
Christophe Jorssen
Hello all,
In a Scripting Guy's script, I found the fellowing
http://www.microsoft.com/technet/scriptcenter/resources/qanda/dec04/
hey1222.mspx
'
Const wdFormatText = 2
Set objWord = CreateObject("Word.Application")
Set objDoc = objWord.Documents.Open("c:\scripts\mylog.doc")
objDoc.SaveAs "c:\scripts\mylog.txt", wdFormatText
objWord.Quit
'
My question is: Where can I find the documentation regarding the
constants the SaveAs method expects (the value of wdFormatText)?
Note: What I'm trying to do is to script the conversion of a lot of files
from word to LaTeX using word2tex
http://www.chikrii.com/products/word2tex/dl/
but I don't know what numerical constant that corresponds to the .tex
format. I will use for this an other Scripting Guy's script
http://www.microsoft.com/technet/scriptcenter/resources/qanda/apr05/
hey0401.mspx
Thanks in advance
In a Scripting Guy's script, I found the fellowing
http://www.microsoft.com/technet/scriptcenter/resources/qanda/dec04/
hey1222.mspx
'
Const wdFormatText = 2
Set objWord = CreateObject("Word.Application")
Set objDoc = objWord.Documents.Open("c:\scripts\mylog.doc")
objDoc.SaveAs "c:\scripts\mylog.txt", wdFormatText
objWord.Quit
'
My question is: Where can I find the documentation regarding the
constants the SaveAs method expects (the value of wdFormatText)?
Note: What I'm trying to do is to script the conversion of a lot of files
from word to LaTeX using word2tex
http://www.chikrii.com/products/word2tex/dl/
but I don't know what numerical constant that corresponds to the .tex
format. I will use for this an other Scripting Guy's script
http://www.microsoft.com/technet/scriptcenter/resources/qanda/apr05/
hey0401.mspx
Thanks in advance