Doc, this is an interesting question. I was at a dead end, but I saw value, so after some searching, this is what I found. From vbaexpress, I understood the basic understanding of cell formatting that I changed for your use below.
Sub Merge_Cells() Dim iOS As Integer Dim rngFrom1 As Range Dim rngFrom2 As Range Dim rngTo As Range Dim lenFrom1 As Integer Dim lenFrom2 As Integer Set rngFrom1 = Cells(1, 1) Set rngFrom2 = Cells(1, 2) Set rngTo = Cells(1, 3) lenFrom1 = rngFrom1.Characters.Count lenFrom2 = rngFrom2.Characters.Count rngTo.Value = rngFrom1.Text & rngFrom2.Text For iOS = 1 To lenFrom1 With rngTo.Characters(iOS, 1).Font .Name = rngFrom1.Characters(iOS, 1).Font.Name .Bold = rngFrom1.Characters(iOS, 1).Font.Bold .Size = rngFrom1.Characters(iOS, 1).Font.Size .ColorIndex = rngFrom1.Characters(iOS, 1).Font.ColorIndex End With Next iOS For iOS = 1 To lenFrom2 With rngTo.Characters(lenFrom1 + iOS, 1).Font .Name = rngFrom2.Characters(iOS, 1).Font.Name .Bold = rngFrom2.Characters(iOS, 1).Font.Bold .Size = rngFrom2.Characters(iOS, 1).Font.Size .ColorIndex = rngFrom2.Characters(iOS, 1).Font.ColorIndex End With Next iOS End Sub
Just change 3 cells () to specific cells. Maybe someone can find a cleaner way, but when I checked this, it worked as I understand you (and I). Hope this helps ...
Craig source share