🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to Set the Export Directory for COM Automation

User: "Monique_21913"
Altair Community Member
Updated by Monique_21913

I'm running version 15.3 and use VB to run a little automation program that opens a report, applies a model, runs an export.   I've been doing it for decades and it works like a champ.  Yay.

So now I have a new user request to create a summary report.  I do the magic and have a project with an export in it.   Everyone is super happy.  I go to run it in my staging environment and it can't find the output directory.  

Neither oMonarch.RunAllExports() and oMonarch.RunExport(exportDefinition) appear to allow me to set the export directory. 

Any idea about how to set the output folder for exports using COM automation?   Basically I want to find a property that would look something like this oMonarch.Export[0].Destination ="C:\myexportpath\"   or oMonarch.Export[0].DestinationTable =  "C:\myexportpath\output.xlsx" 

Thanks in advance for any help.  I love this product.  It's saved my work literally thousands of dollars in programming time!!
                     

Find more posts tagged with