escape quote ComatePlus
Posted: Sun Jan 29, 2012 12:34 am
Hello
I have a worry when I want to save an Excel file whose name contains a quote '. with ComatePlus
example:
this code does not work
leFichierSave$= "ActiveWorkbook\SaveAs ('C:\Devis3\xx'test.xls')"
Exl \ GetObjectProperty (leFichierSave$)
this code works ok
leFichierSave$= "ActiveWorkbook\SaveAs ('C:\Devis3\xx_test.xls')"
Exl \ GetObjectProperty (leFichierSave$)
Thank you for your help
I have a worry when I want to save an Excel file whose name contains a quote '. with ComatePlus
example:
this code does not work
leFichierSave$= "ActiveWorkbook\SaveAs ('C:\Devis3\xx'test.xls')"
Exl \ GetObjectProperty (leFichierSave$)
this code works ok
leFichierSave$= "ActiveWorkbook\SaveAs ('C:\Devis3\xx_test.xls')"
Exl \ GetObjectProperty (leFichierSave$)
Thank you for your help