Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word automation and VFP.
Message
From
13/09/2004 11:59:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/09/2004 11:54:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00940838
Message ID:
00941631
Views:
39
>>So....
>>
>>How would one insert a date into this document using insertdate?
>>
>>Thanks,
>>
>>-Greg
>
>oWord.Selection.InsertDatetime()
>
>
>Cetin

Instead of selection you might use any range such as bookmark.range. If in your template you set a document variable say as myDate then oWord.ActiveDocument.Variables('myDate').Value = transform(date(),'@YL') or similar would do too.
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