jhbmac
12-17-2013, 02:31 AM
Good morning everyone,
I have a project where a group of very non-technical people have the need to go paperless for a report that has approximately 75 fields. The field data will ultimately be inserted into a database. I have created an MS Word 2011 form that contains the fields and am trying to find an easier/less user interactive method to get the data to an Excel worksheet. An example I found used a VBA macro attached to the last field of the form using "execute on exit". The example uses MDAC ADODB.Connection and SQL structuring for Insert into "datasource". Since I cannot guarantee the OS, nor the version of Office being used I cannot guarantee MDAC would be available. I need to keep all of the "techieness" left behind the scenes. Ultimately I would like to build a set of instructions for the day to day use that says "create the new document", "fill in the data", "save the document", "email the following files to ……".
I haven't written any VB in over 15 years and an extremely small amount of VBA during the time I was writing VB. I know there has to be an easier way than using MDAC, but am unsure which is the easiest. The day to day users will not have the technical abilities to muddle their way through the creation of a text version of the Word document and then import the form data as CSV to Excel.
Any ideas?
Thanks in advance.
Jeff
I have a project where a group of very non-technical people have the need to go paperless for a report that has approximately 75 fields. The field data will ultimately be inserted into a database. I have created an MS Word 2011 form that contains the fields and am trying to find an easier/less user interactive method to get the data to an Excel worksheet. An example I found used a VBA macro attached to the last field of the form using "execute on exit". The example uses MDAC ADODB.Connection and SQL structuring for Insert into "datasource". Since I cannot guarantee the OS, nor the version of Office being used I cannot guarantee MDAC would be available. I need to keep all of the "techieness" left behind the scenes. Ultimately I would like to build a set of instructions for the day to day use that says "create the new document", "fill in the data", "save the document", "email the following files to ……".
I haven't written any VB in over 15 years and an extremely small amount of VBA during the time I was writing VB. I know there has to be an easier way than using MDAC, but am unsure which is the easiest. The day to day users will not have the technical abilities to muddle their way through the creation of a text version of the Word document and then import the form data as CSV to Excel.
Any ideas?
Thanks in advance.
Jeff