Dim ExcelApp As Excel.Application Dim ExcelWbk As Excel.Workbook Set ExcelWbk = ExcelApp.Workbooks.Open("C:\mon fichier.xlsm")
Private Sub Command1_Click() Dim XlApp As Excel.Application 'Créer l'appli excel Set XlApp = New Excel.Application 'Afficher l'appli excel XlApp.Visible = True 'Ouvrir le fichier excel XlApp.WorkBooks.Open "C:\Documents and Settings\Administrator\Desktop\PE.xlsm" End Sub
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question