

👉 Do you know you can copy contents (paragraphs) as it is (each word in a single cell with the same font name, size, color of the text, underline etc.) from a Word file to your Excel worksheet? Yes you can. Add Office Object Library Reference to your application. You can also right click sheet1 and choose View Code option.

Now, open your Excel file and add a button, an ActiveX button control, in your worksheet (Sheet1). You can draw multiple tables in your word file. Microsoft provides the Table object (for word) in VBA, which has a collection of methods and properties with which you to read and extract data from multiple tables in a word doc, from Excel.įirst, create a word document (.doc or. However, if you are using VBA to automate your Excel job, then I am sure this example would come handy. You can reverse the process, that is, extract or copy data from single or multiple tables from a word document to your Excel worksheet.Ĭopying and pasting the tables from word to excel, is easy.

I have previously shared an article with an example showing how to open a word document from excel and copy excel data, a table, to the word doc using VBA.
