Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Everyone,
I have a Macro that Produces Results Starting in "A1" and Continues Vertically. The Results Could Possible Use Several Columns. I have Tried Using the Following Code to Set the Columns "A:IV" to be AutoFit, Centred and Texted, But for Some Reason it will NOT Work. Has Anyone got Any Suggestions Please. Here is the Code :- Sheets("Results").Select Columns("A:IV").AutoFit Columns("A:IV").HorizontalAlignment = xlCenter Columns("A:IV").NumberFormat = "@" ' Set to Text. Range("A1").Select Thanks in Advance. All the Best Paul Windows XP - Excel 2002 *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
autofit text when resizing text box in Excel 2007 | Excel Discussion (Misc queries) | |||
why does line not autofit to amount of text? | Excel Discussion (Misc queries) | |||
Autofit text into a cell | Excel Discussion (Misc queries) | |||
autofit text that is pulling data from another tab | Excel Worksheet Functions | |||
How do I get "centre across selection" to centre properly? | Excel Discussion (Misc queries) |