K
kmbarz
I have a series of Word documents that some computerized process generates.
While the data is arranged in a rectangular format for the most part, it's
not actually in a Word table (from which I've written extracts before.) So
what I would like to do is extract from certain "cells" what data I need and
somehow get it out into Excel or Access. In general, it looks roughlylike
this:
WED, JAN 25, 2006, 8:56 AM REPORT
PAGE NO: 3
PART: 0017042 MINQTY: 1.00 FLTIME: 10 INVLOC: MXBOB
NDAYS : 0 MULTPL: 40.00 VALUE : 80.38 INSPCODE: 0
PAST DUE 01/23/06 01/30/06 02/06/06 02/13/06 02/20/06
GROSS REQTS: 8 0 0 0 14 14 14
14
OPEN ORDER : 0 0 0 0 0 0
0 0
ORDER DUE : 0 0 0 0 0 0
0 0
ORDER START: 0 0 0 0 0 0 0
0
PROJ AVAIL : 382 382 382 382 368 354
340
RESCHED TO : 0 0 0 0 0 0
0 0
What I need is to pull the value after PART: and the "cell" value that comes
at the intersection of ORDER DUE : and any column where there is a date ( and
need to associate that date with the cell value as well) This data can also
exist on different pages within the same document, so I need to figure out
how to search the whole thing. My VBA is a bit dated at this point, so any
help you can provide would be greatly appreciated.
Thanks,
Ken
While the data is arranged in a rectangular format for the most part, it's
not actually in a Word table (from which I've written extracts before.) So
what I would like to do is extract from certain "cells" what data I need and
somehow get it out into Excel or Access. In general, it looks roughlylike
this:
WED, JAN 25, 2006, 8:56 AM REPORT
PAGE NO: 3
PART: 0017042 MINQTY: 1.00 FLTIME: 10 INVLOC: MXBOB
NDAYS : 0 MULTPL: 40.00 VALUE : 80.38 INSPCODE: 0
PAST DUE 01/23/06 01/30/06 02/06/06 02/13/06 02/20/06
GROSS REQTS: 8 0 0 0 14 14 14
14
OPEN ORDER : 0 0 0 0 0 0
0 0
ORDER DUE : 0 0 0 0 0 0
0 0
ORDER START: 0 0 0 0 0 0 0
0
PROJ AVAIL : 382 382 382 382 368 354
340
RESCHED TO : 0 0 0 0 0 0
0 0
What I need is to pull the value after PART: and the "cell" value that comes
at the intersection of ORDER DUE : and any column where there is a date ( and
need to associate that date with the cell value as well) This data can also
exist on different pages within the same document, so I need to figure out
how to search the whole thing. My VBA is a bit dated at this point, so any
help you can provide would be greatly appreciated.
Thanks,
Ken