Keep original formatting when concatenating cells in Excel 2007

Hello experts
I am trying to concatenate 3 Excel cells together but I keep losing the formatting (carriage returns etc).
This is what I have so far:

=CONCATENATE(master!P2,L23,A4)

Cell Master!P2  is purely text (a product description that I usually copy/paste   from an email  sent to me that retains the line breaks etc – at the moment I then copy that text into my shopping cart software and it again retains the text formatting)

Cells L23 and A4 are text strings derived from other concatenate and substitute functions (basically it is a list of links to other related products) and I wish to add that to the end of the product description in Master!P2 that I can then copy/paste into the shopping cart software.

It all works fine (the links to other products all work and are formatted as expected due to me explicitly coding the html in L23 and A4) except as I stated, the carriage returns etc from Master!P2 are not copied across.

No calculations need to be carried out from any of the data in the cells if that makes any difference to a solution

Anybody know if this is possible?
Mick_EdenAsked:
Who is Participating?
 
Saqib Husain, SyedEngineerCommented:
It works if you paste to MSWord but not if you paste it to notepad
0
 
Saqib Husain, SyedEngineerCommented:
Select the concatenated cell and format the cell with word-wrap enabled
0
 
Mick_EdenAuthor Commented:
Thanks for that, it's got me a bit closer - it formats as expected now (within the Excel sheet anyway) but unfortunately when I go to copy/paste (by selecting the cell and right clicking)  the text into my application it has lost the formatting again. If I try double clicking the cell to select the text (as I do at the moment with the first cell - which doesn't have a formula attached) it forces me to select the formula itself
0
 
Mick_EdenAuthor Commented:
Excellent - that does the trick, if I paste it into Word then copy paste from Word into my application then all formatting is kept,

Many thanks ssaqibh
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.