Wrap text automatically to multiple rows

Dewie99

New Member
Joined
May 22, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am wondering if there is a way to wrap text to mutliple rows if the colum width is reached. I have seen the post with a macro, however this does not work on merged cells.

This is what I am working with:

I have a excel sheet that is a report, it uses formulas to pull through the spesified individuals performance from a seperate sheet.
example:
1684761710557.png



In the section for comment, there are 2 rows that are underlined. I need the text displayed to automatically fit to the width of the wrapped column and spill over to the next line.

is this at all possible?
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Why not just make the comment one cell, word wrapped, and format the text as underlined?
 
Upvote 0
The lines must remain the same lengt on all the reports. It is printed on pre-printed paper and must fit into the box provided. The lines must be the full lengh and exactly the same on all reports
 
Upvote 0
I was thinking that there is another alternative that I could use.

Can someone change the below macro to split to the next column instead of the next row?

Sub Justify_Selection()
Application.DisplayAlerts = False
Dim c As Range
For Each c In Selection
c.Justify
Next
End Sub
 
Upvote 0

Forum statistics

Threads
1,215,205
Messages
6,123,632
Members
449,109
Latest member
Sebas8956

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top