Information générale
Catégorie:
Codage, syntaxe et commandes
>I have a VB app the opens up Excel and takes the values from a record set and places them into a spreadsheet. I want to change the widths of the cells and it is not working. I would like to have different widths for each of the cells, but I can set even change the width globally: oSheet.Cells.Width = 15000.
>
>Any suggestions would be appreciated.
Try with Autofit. Something like:
oSheet.Cells.Select
oSheet.Cells.EntireColumn.AutoFit
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement