Hi Everyone! I am trying to run a Excel macro which refresh pivots and send emails to few people using Alteryx. I am using below approach to run excel macro.
https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Alteryx-Run-Command-Executing-Excel-Macros-VBA/ta-p/471551
Macro is running fine for refreshing data and pivots, when macro code goes to ActiveWorkbook.EnvelopeVisible = True
With .Parent.MailEnvelope
, it is throwing 1004 issue. This line of code is setting up email data to send out emails
When I run this macro manually from excel, it is working just fine.
It would be really great if someone could help with this.