|
|
|
Salut,
Référence Excel dans ton projet VB, puis créé un objet excel. Ensuite tu fais : MonFichier = objExcel.GetOpenFileName("Fichiers Excel (*.xls),*.xls") ' ouverture du fichier objExcel.Workbooks.Open MonFichier ' sauvegarde au format XML objExcel.ThisWorkbook.SaveAs filename:=MonFichier, fileformat:=xlXMLSpreadsheet J'ai écris ça sans tester, donc il y a certainement des ajustements à faire, mais je pense que c'est la meilleure solution. A+, Kobaya.
|
| 31/10 17h56 | [VBA] rafraichir Word + Excel + XML | Programmation | 31/10 17h56 | 0 |
| 18/01 15h36 | [VBA]Macro Excel XML | Programmation | 18/01 15h51 | 1 |
| 27/03 11h22 | VBA excel Copie valeur cellule avc condition | Programmation | 27/03 12h24 | 3 |
| 23/03 23h00 | Question basique sur VBA - Excel | Programmation | 24/03 17h07 | 3 |