Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

export csv

I use the following macro to export to csv

SET  objChart = ActiveDocument.GetSheetObject("CH461")

    objChart.Export "G:\SuiviRupture\Rupture.csv", ""

I need to get the following results

Sans titre.png

but I got the following results

Sans titre1.png

How to modify the script ?

1 Solution

Accepted Solutions
santiago_respane
Specialist
Specialist

Hi,

you should use the second parameter of the export function, please try like this:

SET  objChart = ActiveDocument.GetSheetObject("CH461")

objChart.Export "G:\SuiviRupture\Rupture.csv", ";"

Let me know if this helps.

Kind regards,

View solution in original post

3 Replies
Clever_Anjos
Employee
Employee

santiago_respane
Specialist
Specialist

Hi,

you should use the second parameter of the export function, please try like this:

SET  objChart = ActiveDocument.GetSheetObject("CH461")

objChart.Export "G:\SuiviRupture\Rupture.csv", ";"

Let me know if this helps.

Kind regards,

Anonymous
Not applicable
Author

Awesome! Many thanks