> I'm working on a generalized document converter which hypothetically
> should be usable from Office 97 through 2003. Emphasis on
[quoted text clipped - 3 lines]
> numeric OpenFormat for the Excel FileConverter (which is 9 on my
> system) Word throws an "out of range" error...
The real problem here is that the converter was missing.
> Do I have to explicitly set this as an argument to Documents.Open? Or is
> there another way around that?
This still stands as a question. For now I've just expanded the call, using
vbNullString values where possible; this is a VBScript class (thus the "Me"
keyword), and .Word, .ConfirmConversions, and .OpenFormat are actually
public class properties which have been set to the instance of Word and some
persistent parameter values respectively...
Set Me.Document = Me.Word.Documents.Open(sourcePath, _
Me.ConfirmConversions, True, False, vbNullString, _
vbNullString, True, vbNullString, vbNullString, Me.OpenFormat)