Bon pour ceux que ça intéresse, voilà le code VBA qui ma permis de faire ce que je voulais (donc malheureusement je nest pas sut le faire quavec une macro Access).Je ne connais pas VBA mais ca semble marché :
Code:
Function MacroBilanContact2()
Dim appExcel As Excel.Application 'Application Excel
'Transfert des tables access dans une feuille portant le même nom que la table
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "BilanContact20032004Inscription2003", "BilanContact-Inscriptions.xls"
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "BilanContact20032004Inscription2004", "BilanContact-Inscriptions.xls"
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "BilanContact20032004MoisCumulEntretiensTable", "BilanContact-Inscriptions.xls"
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "BilanContact20032004StageEntretiens", "BilanContact-Inscriptions.xls"
Set appExcel = CreateObject("excel.application" )
Set wbExcel = appExcel.Workbooks.Open("BilanContact-Inscriptions.xls" )
appExcel.Visible = True
End Function