Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get info from Word
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00545554
Message ID:
00545569
Vues:
9
>Hello,
>
>I try to do the following:
>Open word with a new document. Let the user save the new document in any location. Then store the location and name of the new document in a table, without asking the user for this information.
>
>Can this be done??

Here's what I came up with.
loWord = CREATEOBJECT('Word.Application')
loDoc = loWord.Documents.Add()
loWord.Visible = .t.
DO WHILE !('\' $ loDoc.FullName)
	WAIT WINDOW "Please Save the Word Document" TIMEOUT 2
ENDDO 
lcFullPathName = loDoc.FullName
?lcFullPathName
Rip Ryness
International Falls, MN
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform