Hi andrecamapum,
Excellent question. From my limited research today, your EXACT request can not be done. That is because a function for a cell, can change the VALUE for the cell, but NOT the FORMAT.
I have an alternative, that may do what you want. It involves putting SECRET TEXT CODES in cells that tell a Macro what cells to concatenate, and where the concatenated text should go (which cell). the SECRET CODES can be hidden using custom format (;;
[ 3 semi-colons] so the look and feel of your spreadsheet is not destroyed.
The code can be invoked be one or more of:
a. Command Button
b. Worksheet_Change() event
c. Worksheet_Activate() event
See the attached file and the code follows:
Sheet Module Code (if Change and/or Activate Events are desired):
Ordinary Module Code (such as Module1):
Lewis
Bookmarks