Importing Contents of Text Boxes in Word into Excel

jm-darcy

New Member
Joined
May 22, 2006
Messages
35
Hello all,

I am hoping someone may be able to help.

I have been tasked with importing the results of a number of questionnaires into Excel for data collection and analysis purposes.

The questionnaires are in MS Word with the answers being entered into Text Boxes.

If I were to create a folder and in that put all of the answered questionnaires, would it be possible to create some code that would import the answers from each questionnaire and place them in Excel - Ideally with column A being populated with the answers from one questionnaire, Column B being populated from the next questionnaire etc.?

Each questionnaire asks about 40 questions and each questionnaire is identical (although the answers will of course be different).

I have searched the forum and found some code to copy the contents of textboxes within Excel into rows within Excel, but have struggled to find anything that will open up a series of Word files and populate an Excel sheet with the contents of the Text Boxes contained within the Word file.

Any help would be gratefully received.

With kind regards,

Darcy
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

ColinKJ

Well-known Member
Joined
Jan 27, 2009
Messages
983
Hi Darcy ,

If I were to send you a private message with an email address could you send me an example of one of the completed questionnaires.

You may want to change any sensitive information in the document first.

I could then look at putting some VBA code together.

Regards

ColinKJ
 

jm-darcy

New Member
Joined
May 22, 2006
Messages
35
That's very kind - Not a problem at all.

I truly appreciate your help.

With kind regards,

Darcy
 

Watch MrExcel Video

Forum statistics

Threads
1,130,446
Messages
5,642,198
Members
417,259
Latest member
gtacw

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
Top