Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Get Autofit in Excel to format just part of a column?
Is it possible, using VBscript, to get Autofit to format only part of a
column when building an Excel spreadsheet? -- David Legrand |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Get Autofit in Excel to format just part of a column?
David,
No, the column can only have a single width. But you can select which cell is used as the base for .AutoFit. e.g. Range("A1").Value="This is long, long, long, long string" Range("A2").Value="Short string" Range("A2").Columns.AutoFit gives a different column width to Range("A1").Columns.AutoFit NickHK "Dlegrand" wrote in message ... Is it possible, using VBscript, to get Autofit to format only part of a column when building an Excel spreadsheet? -- David Legrand |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2007/format chart title/alignment/autofit | Charts and Charting in Excel | |||
Excel 2007 Autofit row/column height | Excel Discussion (Misc queries) | |||
format:column width: autofit selection | Setting up and Configuration of Excel | |||
What DDE command may I send to Excel to autofit a column? | Excel Discussion (Misc queries) | |||
Autofit cuts off part of text when printed | Excel Discussion (Misc queries) |