Ensure the text formatting of column Z is exactly the same as in the merged cell, with the exception of merging.In column Z (or some other column outside of your data table range, but not immediately adjacent), put a simple formula reference to column A, as in =A1.Merge the cells in columns A and B as desired.(These steps assume you are merging the cells in columns A and B, and that your data table only includes columns A through K.) The process is described in the following general steps. You do this by using a separate column that is created for the express purpose of setting row height.
If you don't want to use a macro, you can fool Excel into setting the row height properly. Such a macro wouldn't be that trivial to create.) The macro could then reset the column width, merge the cells, and set the new row height. A good approach is to have the macro determine the column width of the merged area, unmerge the columns, set the first column to that width, and determine the row height required to AutoFit it. One way around the problem is to use a macro to set the row height to the desired height. Doing so, however, apparently has no affect-AutoFit seems to completely ignore merged cells in doing its magic. At first blush you may think that you can use the AutoFit feature (Cells | Format | AutoFit or Format | Rows | AutoFit) to adjust the height of the row in which the merged cell is located. If you subsequently merge that cell with an adjacent cell, even if the adjacent cell has text wrapping turned on, then the resulting merged cell's row height is not adjusted so that all the text is visible.Įxactly why Excel does this is unclear, but there is no intrinsic way around it-Excel just does it. He points out that if a cell is set with text wrapping turned on, that Excel automatically adjusts the row height for the cell so that all the wrapped text is visible. Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.Ernie asked if there was a way for Excel to automatically adjust the row height in cells that are merged. Use Word 2003 indent rules for text next to wrapped objects. Use the Normal style instead of the List Paragraph style for bulleted or numbered lists. Underline the tab character between the number and the text in numbered lists. Split apart page break and paragraph mark. Use Word 2003 hanging-punctuation rules in Asian languages.ĭo not use proportional width for Korean characters. Use Microsoft Word 2003 table autofit rules.ĭo not autofit tables next to wrapped objects.ĭo not use hanging indent as tab stop for bullets and numbering.
Set the width of a space like WordPerfect 5.x.Īllow space between paragraphs of the same style in a table.
Expand table row height in word 2010 full#
Use Microsoft Word 97 line breaking rules for Asian text.ĭo full justification like WordPerfect 6.x for Windows.
Use Microsoft Word 2010 table style rules. Use Microsoft Word 2002 table style rules. Swap left and right borders on odd facing pages.ĭo not blank the area behind metafile pictures. Suppress extra line spacing at top of page like Word 5.x for the Macintosh. Suppress extra line spacing at top of page. Suppress Space Before after a hard page or column break. Suppress extra line spacing at bottom of page. Show hard page or column breaks in frames.Įxpand/condense by whole number of points. Select entire field with first or last character. Print colors as black on noncolor printers. Suppress extra line spacing like WordPerfect 5.x.ĭo not add leading (extra space) between rows of text.ĭo not add extra space for raised/lowered characters.ĭo not add automatic tab stop for hanging indent.Ĭombine table borders like Word 5.x for the Macintosh. Use larger small caps like Word 5.x for the Macintosh.ĭo not balance columns for continuous section starts. Treat " as "" in mail merge data sources.Īdjust line height to grid height in the table.īalance SBCS characters and DBCS characters.ĭo not break wrapped tables across pages.ĭo not snap text to grid inside table with inline objects.ĭo not use Asian rules for line breaks with character grid.ĭo not allow hanging punctuation with character grid.ĭo not expand character spaces on the line ending Shift+Return.Ĭonvert backslash characters into yen signs.