Excel

benoit - 7 févr. 2001 à 16:30
cs_titi18 Messages postés 18 Date d'inscription mardi 16 juillet 2002 Statut Membre Dernière intervention 24 septembre 2002 - 12 août 2002 à 10:39
Je cherche a redimensionner une colonne d'une feuille excel depuis mon application VB
Merci

1 réponse

cs_titi18 Messages postés 18 Date d'inscription mardi 16 juillet 2002 Statut Membre Dernière intervention 24 septembre 2002
12 août 2002 à 10:39
essaye ça c'est ce que j'utilise:
Public xlApp As Variant 'application excel
Public xlFeuil As Variant 'feuille excel

Set xlApp = CreateObject("Excel.Application")
xlApp.Visible = True
xlApp.Workbooks.AddSet xlFeuil xlApp.Workbooks(1).Worksheets(1) xlFeuil.Name "Export de Basic"

xlFeuil.Cells(Row, 1).ColumnWidth = cellul_Num 'definition de la largeur de colonne
DG
0
Rejoignez-nous