ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to set a cell to expand to fit text in Excel not shrink fit (https://www.excelbanter.com/excel-worksheet-functions/250087-how-set-cell-expand-fit-text-excel-not-shrink-fit.html)

Elisal

How to set a cell to expand to fit text in Excel not shrink fit
 
I'm not sure it this is doable but is it possible to set a cell so that it
automatically displays all the text that is in there, expanding where
necessary without manual changes.

i don't want shrink to fit as I need to text to be of a certain size

Stefi

How to set a cell to expand to fit text in Excel not shrink fit
 
Wrapping text can be one way or install such an event sub:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 Then Columns(Target.Column).AutoFit
End Sub

This works on column A!

Post if you need help to install it!

--
Regards!
Stefi



€˛Elisal€¯ ezt Ć*rta:

I'm not sure it this is doable but is it possible to set a cell so that it
automatically displays all the text that is in there, expanding where
necessary without manual changes.

i don't want shrink to fit as I need to text to be of a certain size



All times are GMT +1. The time now is 04:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com