Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2007

Tip: Looking for answers? Try searching our database.

how add many strings and vbcrlf in the same string

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SAM S.L - 09 Oct 2007 18:10 GMT
Hello!.

I have a word 2003 and sp3

My userform fill 3 strings with data, and then create one string with these
three. The result is send to textbox

str1="aaaaa"
str2="bbbb"
str3="cccc"

str_last= str1 + vbCrLf + str2 + vbCrLf + str3

desired result:

aaaa
bbbb
cccc

real result:

aaaabbbbcccc

what is the correct procedure to obtain the desired result????

Thanks!!!!!

sam
Helmut Weber - 09 Oct 2007 20:35 GMT
Hi SAM,

maybe set the MultiLine property of your textbox to true.

Signature

Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.