Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Running extensive VBA Code using Alteryx

darioschweizer
5 - Atom

Dear Alteryx Community,

 

I have a large VBA macro, consisting of many modules, functions, etc., which I would like to apply to the Excel output file of an Alteryx workflow.

I want the workflow to "trigger" the macro so that it is executed directly at the end of the workflow run. The VBA macro "formats" the Excel file, creates Overview Tables based on the data, etc.
In general, I have managed to run a VB script via workflow using the "RunCommand" function before, but locally on my computer. However, now the following problems arise here in my opinion:
- The workflow runs through an Alteryx server, as this is for my company and is used by multiple users. Can the workflow then execute a VBA or VB script at all?
- In general, can VBA code be executed by an Alteryx workflow or only VB script?


I would be very grateful for your comments, answers, opinions and questions.

2 REPLIES 2
JagdeeshN
12 - Quasar
12 - Quasar

@darioschweizer ,

 

Alteryx does have the ability to call a VBA script.

 

Please refer the post below. It explains in detail on how this can be done:-

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Call-VBA-macro-from-Alteryx/m-p/46228/...

 

Hope this helps.

 

Best,

Jagdeesh

Roshan_S
5 - Atom

@JagdeeshN the post is showing as archived could you please provide any other source.