|
|
|
| При добавлении ф-ла в поле:
Me.файл.Class = "Word.Document"
Me.файл.OLETypeAllowed = acOLECreateLink
Me.файл.SourceDoc = "C:\1.doc" - выдает ошибку "Run-time error '2101' , Введенное свойство не подходит данному свойству
Me.файл.Action = acOLECreateLink | |
|
| |
|
|
|
| Me.файл.OLETypeAllowed = acOLECreateLink ?
свойство OLETypeAllowed может быть:
acOLELinked - The control can contain only a linked (OLE/DDE link: A connection between an OLE object and its OLE server, or between a Dynamic Data Exchange (DDE) source document and a destination document.) object.
acOLEEmbedded The control can contain only an embedded (embed: To insert a copy of an OLE object from another application. The source of the object, called the OLE server, can be any application that supports object linking and embedding. Changes to an embedded object are not reflected in the original object.) object.
acOLEEither (Default) - The control can contain either a linked or an embedded object. | |
|
| |