D
Dan von InfoPath
Hello,
I am attempting to open an Infopath template from inside Excel VBA.
I have added the Infopath 1.0 Reference library, but I am having some
trouble getting my code to work.
I currently have the template located in a shared folder.
I have tried using things like:
dim objXDoc;
objXDoc = Application.XDocuments.NewFromSolution("C:\\MyForm.xsn");
I've also looked into creating XDocumentsCollection variables and looked at
the "Automating Infopath" msdn article here
http://msdn.microsoft.com/library/d...s/ipsdk/html/inconAutomatingIP_HV01039915.asp
But I am not having any luck. I essentially want to open an IP template,
located on a share drive, from inside of Excel VBA. Can anyone provide me
with an example of how to do this? Thanks in advance!
I am attempting to open an Infopath template from inside Excel VBA.
I have added the Infopath 1.0 Reference library, but I am having some
trouble getting my code to work.
I currently have the template located in a shared folder.
I have tried using things like:
dim objXDoc;
objXDoc = Application.XDocuments.NewFromSolution("C:\\MyForm.xsn");
I've also looked into creating XDocumentsCollection variables and looked at
the "Automating Infopath" msdn article here
http://msdn.microsoft.com/library/d...s/ipsdk/html/inconAutomatingIP_HV01039915.asp
But I am not having any luck. I essentially want to open an IP template,
located on a share drive, from inside of Excel VBA. Can anyone provide me
with an example of how to do this? Thanks in advance!