Importing data from an MS Excel table embedded in MS Word

Erdal

New Member
Joined
Aug 3, 2011
Messages
1
Hi everybody,

I have nearly 5,200 single page MS Word files which have a single MS excel table embedded in them. All the embedded excel tables have exactly the same format for the same parameters. Now the problem is, I need to take the data back to excel from MS word for further data search. As you suppose, the original excel files are not available. If I had a couple of files, it wouldn't be a problem by double clicking the table in word, entering the table as an excel object and then copy/paste to Excel but to do the same work for 5,200 times seems to be tedious. Is there an automated way to repeat this job for me?

Thanks in advance,

Regards.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Welcome to the Forum,

So are you wanting to run something from Excel or from Word?

In Word you can record Macros which will give you the basis of the code you need then it just needs to loop through all the documents.

Suggestion:
Open a blank Word Document then Select to Record a New Macro in Word. Then Open a Document where you need the table and do what you would normally do, then once completed stop recording. Then look at the code and if it helps post back and someone will help you.
 
Upvote 0

Forum statistics

Threads
1,224,504
Messages
6,179,142
Members
452,892
Latest member
JUSTOUTOFMYREACH

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