Hey gang! I know there is someone here that can help me. I have 10,000+ MS Word Docs. They are all formatted the same - another program creates them. See below:
"Commencing at NGS monument "Any High 2" having XXXX Grid Coordinates (NAD 83-2001) X=XXX.XX and X=XXXX; thence from said point XXX XX ° XX ' XX " XXX, XXX feet to an existing iron pin and being the POINT OF BEGINNING; thence from said POINT OF BEGINNING the following 5 courses and distances: XXX XX ° XX ' XX " XXX, XXX feet; thence XXX XX ° XX ' XX " XXX, XXX feet; thence XXX XX ° XX ' XX " XXX, XXX feet; thence XXX XX ° XX ' XX " XXX, XXX feet; thence XXX XX ° XX ' XX " XXX, XXX feet
to the POINT OF BEGINNING; containing 0.039 acres (1683 sq. ft.) more or less, according to a plat entitled "Right of Way and Easement Map for XXXX" by XXXX of XXXX, Inc., dated March 14, 2008."
Out of that paragraph, I need to be able to extract the number of sq. ft. (for this one 1683).
I am extracting several pieces of information from the entire document and placing them in a MS Access database. This is the final piece and I am not having any luck. Code I am using is below (well it is only a piece of the code):
.GoTo what:=wdGoToLine, Which:=wdGoToFirst, Count:=16
With Selection.Find
.Forward = True
.ClearFormatting = True
.MatchWholeWord = True
.MatchCase = True
.Wrap = wdFindContinue
.Execute findtext:="sq. ft.)"
End With
So with that code, I can find "sq. ft.)", but I need the number before it. If anyone can help I would graciously appreciate it!!!
"Commencing at NGS monument "Any High 2" having XXXX Grid Coordinates (NAD 83-2001) X=XXX.XX and X=XXXX; thence from said point XXX XX ° XX ' XX " XXX, XXX feet to an existing iron pin and being the POINT OF BEGINNING; thence from said POINT OF BEGINNING the following 5 courses and distances: XXX XX ° XX ' XX " XXX, XXX feet; thence XXX XX ° XX ' XX " XXX, XXX feet; thence XXX XX ° XX ' XX " XXX, XXX feet; thence XXX XX ° XX ' XX " XXX, XXX feet; thence XXX XX ° XX ' XX " XXX, XXX feet
to the POINT OF BEGINNING; containing 0.039 acres (1683 sq. ft.) more or less, according to a plat entitled "Right of Way and Easement Map for XXXX" by XXXX of XXXX, Inc., dated March 14, 2008."
Out of that paragraph, I need to be able to extract the number of sq. ft. (for this one 1683).
I am extracting several pieces of information from the entire document and placing them in a MS Access database. This is the final piece and I am not having any luck. Code I am using is below (well it is only a piece of the code):
.GoTo what:=wdGoToLine, Which:=wdGoToFirst, Count:=16
With Selection.Find
.Forward = True
.ClearFormatting = True
.MatchWholeWord = True
.MatchCase = True
.Wrap = wdFindContinue
.Execute findtext:="sq. ft.)"
End With
So with that code, I can find "sq. ft.)", but I need the number before it. If anyone can help I would graciously appreciate it!!!