Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default new line at sheet textbox

ekmektext = txt1.Text & chr(10) & txt2.Text & chr(10) _
& txt3.Text & chr(10) & txt4.Text & chr(10) & txt5.Text

--
Regards,
Tom Ogilvy


GUS wrote in message
...
I am using the following code in order to add text (from userform's
textboxes) to a textbox in a sheet.
How can i create a new line inside the textbox in order to put every
(userform.textbox.value) in a new line inside the sheet textbox?.


ekmektext = txt1.Text & chr(10) & txt2.Text & chr(10) _

& txt3.Text & chr(10) & txt4.Text & chr(10) & txt5.Text



Worksheets("xxxxxxxxx").OLEObjects("textbox1").Obj ect.Value = ekmektext




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Link a textbox on a sheet to a cell?! Webtechie Excel Discussion (Misc queries) 2 March 26th 10 04:28 PM
How can i import data from a cell in another sheet, into a textbox Hans the norwegian Excel Worksheet Functions 1 August 19th 09 01:39 PM
Textbox changes position on a copied excel-sheet Hanspeter W. Excel Discussion (Misc queries) 0 July 1st 06 09:41 PM
Possibility of counting line in textbox?? Bob Kilmer Excel Programming 1 August 11th 03 11:15 PM
Accessing a textbox on a sheet.... Cyril[_2_] Excel Programming 1 August 11th 03 06:37 PM


All times are GMT +1. The time now is 06:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"