Solved: Excel macro to extract Word form data into Excel

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Phillipe

Thread Starter
Joined
Aug 17, 2012
Messages
14
Hello again,

I have a word doc that has a form in it. The form may have any number of fields (boxes) to type text answers into, or be a drop down list to select an answer from. I need an excel macro that extracts all data from the form, but with every five fields starting a new row in excel. So all data from the form will appear within 5 columns in an excel spreadsheet.

field 1 field 2 field 3 field 4 field 5
field 6 field 7 field 8 field 9 field 10
etc

Is that possible? I have had no luck to do it myself.

Sample form attached, thank you
____________________________
 

Attachments

Phillipe

Thread Starter
Joined
Aug 17, 2012
Messages
14
Maybe this will be helpful to everyone ..

Create a folder on your desktop called <macro> and a folder therein called <process>.
Place <sample.doc> into that <process> folder.
Place <sample.xls> into the <macro> folder if you like.
Look at the macro code in <sample.xls> and change <User> to <your desktop user name> (2 places).

This <sample.xls> has a macro that saves the word form data in <sample.doc> to one row in the spreadsheet. (The code also allows you to save more docs to rows under it which for me is not necessary, but ok anyway). You can see in the spreadsheet how I would prefer it if possible, five columns.

Thanks, I hope that makes it clearer to everyone.
________________________________________
 

Attachments

Phillipe

Thread Starter
Joined
Aug 17, 2012
Messages
14
Closing the post in 2-3 days, a little time in case someone is pondering it.
Thank you to all those who took the time to look at it and try it for me. No doubt there were a few who did and I appreciate it.
Stay safe.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top