Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add more text to existing cell through VBA text box 1

Status
Not open for further replies.

2ks

Technical User
Jan 13, 2007
54
GB
I wish to add more text to an existing cell, that already has some info in.

I want to create a item tracking history according to ref number.

I can find by ref, offset to column etc but then I need the newly input txt to Set a new line in the cell (just like Alt and Enter if manually updating a cell to get a new line) and then transpose the new txt at the end.

How do I get VBA to do that bit?

Thanks
 
A starting point:
yourCell.Value = yourCell.Value & vbLf & "new line of text"

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top