C# Start Excel Trust Center's "Start Macro", "Allow VBA Projects" option through code

Ghost_Li 1 Reputation point

I wrote a macro operation in C# code, I hope it can be executed in Excel,
``but I can't be sure whether the target Excel allows macro operations,
so I hope that I can enable the "Allow Macros" and "Allow VBA Projects" of the Excel Trust Center in the code
help me thank you!

0 comments No comments
{count} votes