- Code : Tout sélectionner
With xlSheet.ListObjects
xlsheet.Range("A1").Select
Call .Add(1, xlsheet.Range(xlsheet.Cells(1,1), xlsheet.Cells(maxrow,maxcol)), , 1)
End With
on peut ajouter :
- Code : Tout sélectionner
xlsheet.cells.entirecolumn.autofit
With xlSheet.ListObjects
xlsheet.Range("A1").Select
Call .Add(1, xlsheet.Range(xlsheet.Cells(1,1), xlsheet.Cells(maxrow,maxcol)), , 1)
End Withxlsheet.cells.entirecolumn.autofitRetour vers Importation/Exportation vers d'autres applications