Hello All,
I have found a script here which convert doc file to html.
i want to change this slight to save in pdf instead of html.
all i want to know is what value should i give in fltDocFormat?
currently it is holding 10 for html files.
oDoc.SaveAs(ref FileToSave, ref fltDocFormat, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing);
can someone please let me know.
regards
sam
Loading
niidmorePosted Feb 15, 2008, 11:26 AM
Open Word and open the VBA editor with Alt+F11. Hit F2. In the Classes pane, scroll to and select the WdSaveFormat constant class. The list of constant names will appear in the right hand pane. Selecting any one by name will display its value in the pane below.