Assume I have a cell with a column width of lets say 15 centimeters and a row high of two lines.
The content of this cell are two text lines separated by a newline/Carriage return like
blah blah blah 12345 foo bar
next, second line text
Now I mark this cell and choose "copy" from context menu. A dotted line appears around the cell indicating that the cell content is copied into clipboard. Fine.
Now I switch to another worksheet, put the cursor in one of the (standard formatted) cells and select "Paste" from context menu.
The content is copied BUT:
the column width stay as before. This in turn causes the row height to increase to more than two lines. It looks similar to
blah
blah
blah
12345
foo bar
next,
second
line
text
How can I let Excel auto-adjust the column width according to the source column width? ....and prevent row height adjustment?
BTW: This solution should work as well if I select a whole region with different cell/columns widths.
Related question: Assume I want to achieve this not by manually, visual copy&paste but from VBA macro.
How should a macro command look like which pay attention to this auto-adjustment?
Peter
Bookmarks