Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello.
Using VB6.0 and Excel 2002. I'm trying to change the column width of a column before saving the workbook. I can do other changes to the worksheet, like fonts and values etc., but it won't change the columnwidth. I tried these statements and none of them work: oSheet.Range("A1").Columns.ColumnWidth = 5.75 oSheet.Range("A1").ColumnWidth = 5.75 oSheet.Columns("A:A").ColumnWidth = 5.75 oSheet.Columns("A").Select Selection.ColumnWidth = 5.75 Does anybody know how to do this? Any help would be gratefully appreciated. Thanks, Tony |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2002: How to change default page size for printing? | Excel Discussion (Misc queries) | |||
Change the font size of excel row number and column heading | Excel Discussion (Misc queries) | |||
How do I change the size of cells independant from the column | Excel Discussion (Misc queries) | |||
How do you change the size of a range of cells in a column/row | Charts and Charting in Excel | |||
Excel 2002 files attached to Outlook 2002 EMails change size | Excel Programming |