Hi Folks ...
Ok, opening a .doc file with a button and converting it to rtf ist simple. But currently I'm facing a very interesting problem.
I use a VBA Script to open a specific .doc file on my local hd.
This works fine, but when this document contains for example an input field (from the WebTools) the following code fails without an error message (or better with an empty vba error box) on the documents.open(.. line.
Dim wordApp As Word.Application
Set wordApp = New Word.Application
wordApp.Visible = True
Dim wordDoc As Word.Document
Set wordDoc = wordApp.Documents.Open("c:\test\MyDoc.doc", _
AddToRecentFiles:=False, Format:=wdOpenFormatAuto)
...
The problem occurs on Office XP and 2003.
Any ideas

Problem automatic opening of .doc's with WebTools elements fails
BarryK
I found a reference when I opened the word document and also openend the VBA editor .. extras .. references (I use the german version right now ..). There I found a line:
"NOT AVAILABLE: blabla.dot".
When I remove this line and save the file .. my script can open the document without any problems.
Does anybody know how to remove unused or unavailable references from this list
Or maybe a better way to supress error messages than application.DisplayAlerts = wdAlertsNone