Hi Sven,
the document opens correct and gv_url contains the full qualified path of the file e.g. "FILE://C:\ProgramData\SAP\Excel_Template.xlsm".
But in Excel the document has the different path "C:\Temp\Excel_Template.xlsm" now. And "C:\Temp" is not defined as a secure directory, so macros have to be activated manuelly in Excel by the user first before I can call them in ABAP.
The problem: SAP changes the directory of the Excel!
Regards,
Ole.