Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Select a variable range in Word
Message
From
23/03/2004 04:29:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/03/2004 20:35:47
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00888137
Message ID:
00888770
Views:
21
Snip...
>Cetin,
>Thanks a lot for your advice and help with the code, it opened my mind to other ways to do what I need.
>
>[],s
>Peter

Glad. If you use document variables instead it might be easier. In word you then insert DocVariable fields and format as you like. To update the values :

oWord.Activedocument.Variables('varName').Value = lcNewValue

Alternatively which I think is an easy thing is to create a mailmerge document template. It wouldn't have anything to do with mailing to multiple clients but a single record updating variables.
You might also combine the variables, bookmarks and mailmerge fields in a single document.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform