23-02-22 11:43 PM
xlCSV
Answered! Go to Answer.
24-02-22 12:45 AM
wb.SaveAs(filename, 6) ' 6 is the equivilent of the xlCSV enum entry.
24-02-22 12:45 AM
wb.SaveAs(filename, 6) ' 6 is the equivilent of the xlCSV enum entry.
24-02-22 02:41 AM
24-02-22 03:04 AM
26-07-24 10:21 AM
@ewilson What if I want to save this file as a CSV UTF-8 file format
26-07-24 03:10 PM
@Arman_K we're updated the asset to include an additional input parameter on the Save Workbook As action to let you specify one of the supported formats from Excel. Should be published later today.
Cheers,
Eric
26-07-24 06:36 PM
@Arman_K version 10.3.6 of the Excel VBO has been published with a new optional input parameter on the Save Workbook As and Save Current Workbook As actions. The new parameter, called File Format, takes a numeric input that corresponds to the format you want to use. You can find a list of the Excel supported formats here. For UTF8 CSV you'd be looking at 62.
Cheers,
Eric
3 weeks ago
Hi Eric,
I need to save my excel csv file as an xlsm file, as i need to use the oldeb actions.
i checked out the link you sent for excel supported formats and xlsm = 52
i have made a duplicate of the "save workbook as" action in excel vbo and input 52 into the code as you suggested above - see below code
but I'm getting this error when running the action? is my code wrong or do you have any ideas why its not working?
Thanks
Frankie
3 weeks ago
sorry just to add i did see a save workbook as xlsm action under the MS Excel Extended vbo - ErnstYoung - so checked the code out on that and could see it was set as FileFormat:=52
I did update the cod eon the one i have created but still get the same error
3 weeks ago
Hi @FrankieTEWV
Bit of an odd error there. Not sure if it's saying there's an issue in the workbook or within the VBO trying to locate the instance. In your process are you creating a new instance of Excel or are you attaching to an existing instance?
Cheers,
Eric