Eric ,
find the code below, you must do some googling to fin the
makePropertyValue function made by Danny Brerwer
hope it helps
Fernand
I have an application that takes input formatted as csv. my source form is calc sheet with computed cells. if I save as csv, I need to re open the sheet's ods file when I make changes. is there any way to export as csv but keep the original ods in calc?? macro? bit o'python?
# Now save it in CSV format.
cURL= convertToURL( cFile +".csv" ) oDoc.storeToURL( cURL, Array( makePropertyValue( "FilterName", "Text - txt - csv (StarCalc)" ) ) )