I want to create a document, using a preset document style. The line I'm using is:
Set myDocument = myInDesign.documents.Add(myInDesign.DocumentPresets.Item("A3"))
I've set up a matching document style and named it A3.
I get the following error message:
Error String:Invalid value for parameter 'ShowingWindow' of event 'Add'. Expected Boolean,
but received DocumentPreset.
Any idea what my problem is?
Found the answer...
Just put true as the first parameter.