Column Width Adjustment

G

Guest

Is there a way to adjust the column width automatically to fit the length of
the longest data in the cell. I know how to do it one column at a time but
not how to do all columns of data at once.

Thanks,

Jerry
 
R

Ragdyer

Do a <Ctrl> <A>
to select the entire sheet, then,
Do the same thing you would do for a single Column:
<Format> <Column> <AutoFit>
 
M

Martin Rice

Jerry

In a macro use

Columns.AutoFit

Without a macro, select all cells (the interection of row and column
headings) and double click on any one column junction.

Martin

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Visit Eighty-Twenty Spreadsheet Automation for professional customised
spreadsheet development

http://homepage.ntlworld.com/martin.rice1/
 
B

Bruce Sinclair

Is there a way to adjust the column width automatically to fit the length of
the longest data in the cell. I know how to do it one column at a time but
not how to do all columns of data at once.

Select all the columns you want to do this with and double click on the
right side of the column header. Done.


Bruce

----------------------------------------
I believe you find life such a problem because you think there are the good
people and the bad people. You're wrong, of course. There are, always and
only, the bad people, but some of them are on opposite sides.

Lord Vetinari in Guards ! Guards ! - Terry Pratchett

Caution ===== followups may have been changed to relevant groups
(if there were any)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top