How to Extract data into Excel using Macros?

dxchito

New Member
Joined
Jul 7, 2014
Messages
1
Hi,

I was wondering if there is a way to extract data from MS Word to Excel using Macros.

Heres a brief example on what I want the macros to do.

MS word:
07/01/2014
09:30 AM
1) ?6:12-bk-xxxxx-name (docket entries only) Claims Register

PRVDISM, CONVERTED


Chapter: 7
Judge:
Name and Name representing name (Debtor)

Name and Name representing Name (Joint Debtor)
Name (TR) (Trustee)

(no aty) representing United States Trustee (RS) (U.S. Trustee)

Notice of motion and motion for relief from the automatic stay with supporting declarations ?REAL PROPERTY RE: REAL PROPERTY RE: Property Address

MS Excel

Case Number |Date| Time| Judge |Debtors Lawyer|Debtor| Trustees Lawyer|Trustee | Real Property Address | Chapter|
6:12-bk-xxxxx-WJ |07/01/2014 |09:30 AM|Name | Name | Name | Name | REAL PROPERTY RE: Address

EDIT: removed sensitive personal information - Please use sample data only - Moderator
 
Last edited by a moderator:

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
I've never tried it but on a google search, this looks interesting.

Regards,
Howard

Code:
        Click "Insert" and then "Module" to create a new module for entering program code. Type the following code anywhere inside the new module:

        Public Sub accessTable()

        Set appWD = CreateObject("Word.Application")

        appWD.Documents.Open Filename:="C:\WordTableData.doc", _

        ConfirmConversions:=False, ReadOnly:=False, AddToRecentFiles:=False,

        PasswordDocument:="", PasswordTemplate:="", Revert:=False, _

        WritePasswordDocument:="", WritePasswordTemplate:="", Format:= _

        wdOpenFormatAuto

        x = appWD.ActiveDocument.Tables(1).Rows(1).Cells(1)

        MsgBox (x)

        appWD.Quit

        End Sub



Read more : http://www.ehow.com/how_6873235_extract-tables-using-excel-vba.html
 
Upvote 0

Forum statistics

Threads
1,214,942
Messages
6,122,367
Members
449,080
Latest member
Armadillos

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