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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syntax for creating line feeds from VBA

Status
Not open for further replies.

bhujanga

Programmer
Oct 18, 2007
181
US
I have a control box ([Comments]) bound to a memo field (also called 'Comments'). Based on certain things that change in the form , I want to add comments in there automatically from event code. I just need to know how to get each new comment to start on its own line.

Thanks.
 


hi.

Use vbLf whic is a line feed character.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Hey Skip - isn't there also a vbCrLf?

Ernest

Be Alert, America needs more lerts
 

You may also use good old [tt]vbNewLine[/tt]


Have fun.

---- Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top