Extracting data from word using VB

tp2468

New Member
Joined
Mar 5, 2009
Messages
45
Hi there,

I have created a survey form in a word documents using textboxs and checkboxs. I have created a macro to read the values but I do not know how to carry the variables across to excel so I can read write the results to the spreadsheet. How can I do this?

Thanks in advance

Tom
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
One way to do it would be to have your same Word macro create an Excel workbook and insert the data or insert the data to an existing workbook.
 
Upvote 0
I already have an excel sheet setup, what I need to do is to be able to open this. I done this before, transfering between different excel books using Windows("Book2").Activate but this code will not work when ran from the word document.
 
Upvote 0

Forum statistics

Threads
1,215,484
Messages
6,125,066
Members
449,206
Latest member
Healthydogs

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