Bonjour a tous et a toutes,
Voila je voudrais ouvrir une feuille Excel existante, mais ca bloque tout le temps ! :(
J’ai importé :
La procedure :Code:Imports Excel = Microsoft.Office.Interop.Excel
Si quelqu’un aurais t il la gentillesse de me corriger ca serais super merci :)Code:
1
2
3
4
5
6
7
8
9
10
11 Private sub Dim xlApp As Excel.Application Dim xlWorkBook As Excel.Workbooks Dim xlTemplateWorkBook As Excel.Workbook xlApp = New Excel.Application xlWorkBook = xlApp.Workbooks xlTemplateWorkBook = xlWorkBook.Open("C:\Test.xls", , True) . End sub