Beginner - Excel - How to insert new line in Label Text

G

Guest

Hi once again,
I would be pleased if anyone could guide me as to how to insert a new line
in an Excel UserForm Label Text.

************************************
************************************
Private Sub UserForm_Initialize()

frmChild.lblChildShowParentDetails.Caption = _
frmParent.txtParentFirstName.Text & " " _
& frmParent.txtParentSurname.Text

frmChild.lblChildShowAddressDetails.Caption = _
frmParent.txtParentStreetAddress.Value & nbln _
& frmParent.txtParentSuburb.Value & " " _
& frmParent.txtParentPostCode.Value
************************************
************************************

The problem with this code is that if the address if very long, it looks
very messy.

I have tried in vein to find the syntax for "NEW LINE", I vaguely remember
something about "nbln" but as I said, very vague.

Many Kind regards
duBe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top