Thank you haukex and Anonymous Monk!
msoAutomationSecurityForceDisable does the trick :-) .
note: I found out that it works with $Excel->Workbooks->Open, but it didn't work with $Excel->Workbooks->OpenXML
Rata
In reply to Re^2: Win::OLE Excel: disable macros
by Ratazong
in thread Win::OLE Excel: disable macros
by Ratazong
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |