Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Win::OLE Excel: disable macros

by Ratazong (Monsignor)
on Feb 16, 2022 at 12:25 UTC ( [id://11141423]=note: print w/replies, xml ) Need Help??


in reply to Re: Win::OLE Excel: disable macros
in thread Win::OLE Excel: disable macros

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11141423]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-19 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found