APOC [T.I.M.]
Board Regular
- Joined
- Jun 28, 2007
- Messages
- 132
I use this to read cell content, add some text/characters (ie. [ and ]) and change the properties of the complete cell
HOW can I change this vba-code so it leave's the content of the cell like it is and add some content with the use of let's say TexBox1 and ONLY use different font properties for the newely added content?
With kind regards, Tim
Code:
Sub COMMENT()
Worksheets("DVD Lijssie").Activate
If ActiveCell.Value <> 0 Then ' Change all in to ... ... ...
ActiveCell.FormulaR1C1 = ActiveCell.Value & " " & "]" & " " & "["
With ActiveCell.Font
.Name = "Arial Narrow"
.Size = 8
.ColorIndex = 16
End With
End If
End Sub
With kind regards, Tim