Dear sir
i want to know about how to print multi line code in rich tex box , because richtextbox.tex t=rscontact!companyname & rscontact@city
it is display in a line , i want print one by one

If you want to add multi line just use "vbNewline"
In case of a text box first change the multi line property.It will enable the text box to add a new line and in case of Rich text box it is automatically in multi line.
To add a multi line :

RT1.text=Name
RT1.text=Rt1.text & VBNewline & Age
RT1.text=Rt1.text & VBNewline & Place
RT1.text=Rt1.text & VBNewline & City

Rt1=Rich text box 1.

Hope It Will work.
Try it ...
Best of luck ...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.