Add Text To Existing Text

Goatee-Guy
01-31-2008, 11:30 AM
Hey i need to add text to existing text. For example to a multiline textbox
before and after the words like
before function
cat
dog
bird
fish
after function
black cat eats
black dog eats
black bird eats
black fish eats
i need to be able to do a text/list of thousands of lines of text
i really appreciate the help anyone can offer

the master
01-31-2008, 11:33 AM
There is a really easy way to get what you want


text1.text = "black " & replace(text1.text,vbnewline," eats" & vbnewline & "black ") & " eats"

Goatee-Guy
01-31-2008, 12:25 PM
works like a charm thanks again
:)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum