In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Excel output error after using the run command to run vbs

racoon
7 - Meteor

Hi,

I have a workflow where I am using the run cmd tool to execute a vbscript.

The vbscript runs an excel macro. I then want to output to that excel file but I get an error saying the file is open.

I have attached the workflow. 

Can someone please let me know what I am doing wrong.

Thanks

 

2 REPLIES 2
Thableaus
17 - Castor
17 - Castor

Hi @racoon 

 

Try to add "taskkill /F /IM excel.exe" to your run command script(or bat).

 

This will force to close the Excel file. This might be the problem

 

Cheers,

 

racoon
7 - Meteor

Thanks Thableaus! This Works great.

Labels
Top Solution Authors