Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word object
Message
From
18/11/1998 09:16:56
 
 
To
18/11/1998 07:35:46
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00158668
Message ID:
00158715
Views:
12
Mark, thanks for your help, but I can't seem to get this code to work. Any ideas ????

oWord = createobject('Word.Application')
with oWord
.WordBasic.AppHide
.WordBasic.FileOpen(lcFileName)
.WordBasic.FileSaveAs('c:\test.doc')
.WritePassword = "derek"
.WordBasic.FileSaveAs('c:\test.doc')
.WordBasic.AppShow
endwith

I also used the line

.WordBasic.WritePassword = "Derek"

and that failed to work.

Do you have an example of using the WritePassword property ?????

regards

Derek
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform