When I try this I get the following error:
InfoPath cannot open the selected form beaqcuse of an error in the form's code.
The following error has occured:
Cannot use parentheses when calling a Sub
File:script./vbs
XDocument.View.Export("C:\\Test","XLS")
Any ideas on what I'm doing wrong?