FAQ
Formulaire
A partir d'un formulaire possédant un textbox ayant comme source un champ OLE, on peut l'alimenter de la façon suivante :
' FichierOLE est le champ OLE
With Me.FichierOLE
' FichierOLE est le champ OLE
With Me.FichierOLE
.Class = "Word.Document"
.OLETypeAllowed = acOLELinked
.SourceDoc = "H:TestDoc.doc"
.Action = acOLECreateLink
'Affichage du document si souhaité
.Action = acOLEActivate
End With.OLETypeAllowed = acOLELinked
.SourceDoc = "H:TestDoc.doc"
.Action = acOLECreateLink
'Affichage du document si souhaité
.Action = acOLEActivate