Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Jump to next line in box...

I have a database of people, that when you search for one, it finds the
person and displays the info. I wish to be able to add a "return" (next line)
for each note in the note text box. How do I do this?


Ex.

CustInfo.Notes = Worksheets("CustomerDatabase").Cells(RefCountx, 30) &
NEXTLINE??? & Worksheets("CustomerDatabase").Cells(RefCountx, 31)

thanks Ahead of time,
Thomas
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Jump to next line in box...

Hi Thomas

Try
VbNewLine

HTH. Best wishes Harald

"thomas" skrev i melding
...
I have a database of people, that when you search for one, it finds the
person and displays the info. I wish to be able to add a "return" (next

line)
for each note in the note text box. How do I do this?


Ex.

CustInfo.Notes = Worksheets("CustomerDatabase").Cells(RefCountx, 30) &
NEXTLINE??? & Worksheets("CustomerDatabase").Cells(RefCountx, 31)

thanks Ahead of time,
Thomas



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Jump to next line in box...

chr(10)


CustInfo.Notes = Worksheets("CustomerDatabase").Cells(RefCountx, 30) & _
chr(10) & Worksheets("CustomerDatabase").Cells(RefCountx, 31)

--
Regards,
Tom Ogilvy


"thomas" wrote in message
...
I have a database of people, that when you search for one, it finds the
person and displays the info. I wish to be able to add a "return" (next

line)
for each note in the note text box. How do I do this?


Ex.

CustInfo.Notes = Worksheets("CustomerDatabase").Cells(RefCountx, 30) &
NEXTLINE??? & Worksheets("CustomerDatabase").Cells(RefCountx, 31)

thanks Ahead of time,
Thomas



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Jump to next line in box...

Your cool! Still learning the in's and out's of VB

-thomas

"Harald Staff" wrote:

Hi Thomas

Try
VbNewLine

HTH. Best wishes Harald

"thomas" skrev i melding
...
I have a database of people, that when you search for one, it finds the
person and displays the info. I wish to be able to add a "return" (next

line)
for each note in the note text box. How do I do this?


Ex.

CustInfo.Notes = Worksheets("CustomerDatabase").Cells(RefCountx, 30) &
NEXTLINE??? & Worksheets("CustomerDatabase").Cells(RefCountx, 31)

thanks Ahead of time,
Thomas




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
Jump to new line after the first record is displayed ajitpalsingh200[_5_] Excel Programming 0 November 6th 04 07:58 AM
Jump to new line after the first record is displayed mangesh_yadav[_164_] Excel Programming 1 November 6th 04 07:34 AM
Jump to new line after the first record is displayed ajitpalsingh200[_4_] Excel Programming 0 November 6th 04 07:25 AM
Jump to new line after the first record is displayed ajitpalsingh200 Excel Programming 1 November 6th 04 06:01 AM
Jump to new line after the first record is displayed mangesh_yadav[_159_] Excel Programming 0 November 6th 04 05:30 AM


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

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

About Us

"It's about Microsoft Excel"