Link to home
Start Free TrialLog in
Avatar of Armando Vilela Baiões
Armando Vilela BaiõesFlag for Portugal

asked on

VBA vbNewLine and vbCrLf not working when it comes to insert a new line in memo richtext control

Hello Fellows

Im trying to insert a new line in a memo richtext control, but the vbNewLine and vbCrLf dont work there. Is there a way  to do this?

Thanks in advance for your suggestions

Allways gratefull
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Is the control set up to be multiline?
Avatar of Armando Vilela Baiões

ASKER

yes, "Enter Key Behavior" property is set to New Line In Field
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sure..... html
off course it worked, thanks
Thanks Martin
You're welcome and I'm glad I was able to help.

If you expand the “Full Biography” section of my profile you'll find links to some articles I've written that may interest you.

Marty - Microsoft MVP 2009 to 2016
              Experts Exchange MVE 2015
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2016
I will, always willing to learn