ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel will not show all text entered in a Cell merged from 9 rows (https://www.excelbanter.com/excel-discussion-misc-queries/40938-excel-will-not-show-all-text-entered-cell-merged-9-rows.html)

Pat

Excel will not show all text entered in a Cell merged from 9 rows
 
I have tried to autofit and format cell, but nothing works. I have to
manually drag the cell border to make it longer.

Paul Black

Hi Pat,

Have you Also Tried Wrap Text.

All the Best.
Paul


Pat

Yes, that was the first thing.

"Paul Black" wrote:

Hi Pat,

Have you Also Tried Wrap Text.

All the Best.
Paul



Dave Peterson

Autofitting rowheight and merged cells don't play nice.

Jim Rech wrote a macro called AutoFitMergedCellRowHeight that you may like:
http://groups.google.com/groups?thre...%40tkmsftngp05

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Pat wrote:

I have tried to autofit and format cell, but nothing works. I have to
manually drag the cell border to make it longer.


--

Dave Peterson

Pat

Thanks. I will try it.

"Dave Peterson" wrote:

Autofitting rowheight and merged cells don't play nice.

Jim Rech wrote a macro called AutoFitMergedCellRowHeight that you may like:
http://groups.google.com/groups?thre...%40tkmsftngp05

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Pat wrote:

I have tried to autofit and format cell, but nothing works. I have to
manually drag the cell border to make it longer.


--

Dave Peterson


Pat

I ran your macro and it doesn't do anything. Should I be blocking something
out?

"Dave Peterson" wrote:

Autofitting rowheight and merged cells don't play nice.

Jim Rech wrote a macro called AutoFitMergedCellRowHeight that you may like:
http://groups.google.com/groups?thre...%40tkmsftngp05

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Pat wrote:

I have tried to autofit and format cell, but nothing works. I have to
manually drag the cell border to make it longer.


--

Dave Peterson


Dave Peterson

This portion of Jim's code does some checking:

If ActiveCell.MergeCells Then
With ActiveCell.MergeArea
If .Rows.Count = 1 And .WrapText = True Then

Is your activecell part of a merged area?
Is that mergearea a single row?
Do you have wraptext turned on?



Pat wrote:

I ran your macro and it doesn't do anything. Should I be blocking something
out?

"Dave Peterson" wrote:

Autofitting rowheight and merged cells don't play nice.

Jim Rech wrote a macro called AutoFitMergedCellRowHeight that you may like:
http://groups.google.com/groups?thre...%40tkmsftngp05

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Pat wrote:

I have tried to autofit and format cell, but nothing works. I have to
manually drag the cell border to make it longer.


--

Dave Peterson


--

Dave Peterson


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

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