Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2004

Tip: Looking for answers? Try searching our database.

Word Data Extraction

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ken - 30 Jan 2004 22:51 GMT
Hi,

I have a VB program that extracts data from a word
document.  Most of the data are in tables, so it is
relatively easy to get to.  However, I have four values
that fall outside of the table.  For example:

Table1 Here

$variable1$

Table2 Here

Here's a sentence:               $variable2$

The $ signs delimit where some proprietary software pulls
data into the word document.  I believe though that the
variables should always be in the same location.  What
would be a good way of pulling those variables into my
program?

Thanks.
Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS - 31 Jan 2004 00:39 GMT
Hi Ken,

Use the Find function with q Wildcard string.

See the article ?Finding and replacing characters using wildcards? at:

http://word.mvps.org/FAQs/General/UsingWildcards.htm

Signature

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP

> Hi,
>
[quoted text clipped - 18 lines]
>
> Thanks.
- 31 Jan 2004 02:21 GMT
Yeah, I posted and then realized I didn't have quite  
enough info on there.  The $ delimiters are only for the
use of the proprietary software.  When it's done with it,
there's just some value in that location.  Could be a
date, or a test value or a string...  But anyhow, the $'s
are gone when the proprietary system saves it off as
a .rtf file.  So, I'll never know what to use Find on.

>-----Original Message-----
>Hi Ken,
>
>Use the Find function with q Wildcard string.
>
>See the article "Finding and replacing characters using
wildcards" at:

>http://word.mvps.org/FAQs/General/UsingWildcards.htm
>
[quoted text clipped - 22 lines]
>
>.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.