Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Running extensive VBA Code using Alteryx

darioschweizer
5 - Atom

following situation:

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.
So I want the workflow to "trigger" the macro so that it is executed directly at the end of the workflow run. The 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 "Command" 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.

1 REPLY 1
BenoitC
Alteryx
Alteryx

Hello,

 

yes it's possible depending on the configuration of the server:

Safe and Semi-safe Run Modes: Blocked Tools, Events, and Data Connectors 

 

If the server is configured to safe mode, you won't be able to run your script from the server.

 

If not, you'll have to make sure that the script is available on the server. If it goes through the network, it will reduce performance.

 

Does it answer your question?

 

Benoit

Benoit Conley

Sales Engineer
Alteryx, Inc.

Labels