| {\rtf1\ansi\ansicpg1252\deff0\deflang1044{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 Description:I was in the middle of a project and this drove me crazy to figure out. This allows you to add additional lines to a text box. Very easy, but useful. \par \par \par temp = "whatever you want" \par \par \par With Text1 \par .SelStart = Len(.Text) \par .SelText = temp 'to make another line add vblf \par .multiline = True \par End With \par \par OR \par \par text1.multiline = True \par text1.text = text1.text & vbnewline & "your text" \par } |
Writing multiple lines to a text box |
India web developer web development India | India web development company India ecommerce web developer