Set xlApp = New Excel.Application Set xlBook = xlApp.Workbooks.Add Set xlSheet = xlBook.ActiveSheet Screen.ActiveForm.MousePointer = vbHourglass For i = 0 To Msfour.Rows - 1 For j = 0 To Msfour.Cols - 1 xlSheet.Cells(i + 1, j + 1) = Msfour.TextMatrix(i, j) Next Next xlApp.Visible = True Screen.ActiveForm.MousePointer = vbNormal Set xlApp = Nothing Set xlBook = Nothing Set xlSheet = Nothing
Global xlApp As Excel.Application Global xlBook As Excel.Workbook Global xlSheet As Excel.Worksheet
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question