Use Excel to Generate InfoPath Surveys

s4miller

New Member
Joined
Jan 28, 2013
Messages
1
Hello,

I can’t seem to find any threads/materials online to help with the following Excel VBA automation problem and I am looking for some help/direction –

I am currently developing a corrective action tracker in Excel that generates a new Microsoft InfoPath survey for each corrective action in my standardized Excel spreadsheet. I have all of the Excel VBA code and logic required for the tracker except for the code that actually launches the InfoPath application, selects the appropriate InfoPath survey template, copies the corrective action data from Excel and pastes it into the InfoPath survey, and then saves the InfoPath survey as a new InfoPath file.

I have developed several similar custom Excel tools that automate the generation of a series of text, Word, or PowerPoint files but I have never attempted InfoPath. Unfortunately, I am locked into using InfoPath and I can’t seem to find any resources to help with this challenge.

Does anyone know if it is possible to automate the generation of several InfoPath surveys using Excel? Is a custom API required and if so where should I look to learn how to develop a custom API?

Thanks,
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,223,248
Messages
6,171,011
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top