Тема: Excel и AX 2009
Показать сообщение отдельно
Старый 12.11.2015, 16:42   #5  
dmn is offline
dmn
Участник
 
9 / 18 (1) ++
Регистрация: 25.09.2014
Из справки Excel
Код:
OLEObjects.Add Method
expression.Add(ClassType, FileName, Link, DisplayAsIcon, IconFileName, IconIndex, IconLabel, Left, Top, Width, Height)
(you must specify either ClassType or FileName). A string that contains the programmatic identifier for the object to be created. If ClassType is specified, FileName and Link are ignored.
Если указан ClassType, то FileName и Link игнорируются.

Попробуйте заменить на это:
X++:
OLEObjects.Add(ComVariant::createNoValue(), @'c:\temp\Д_013308.pdf');
За это сообщение автора поблагодарили: Dumfag (1).