View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
JLGWhiz JLGWhiz is offline
external usenet poster
 
Posts: 3,986
Default Add Line break to string for Excel (using c#)

vbCrLf combines Chr(10) and Chr(13) for carriage return and line feed.

"ladyhawke" wrote:

I'm adding som data to a string that will be imported to Excel. I need
to add line breaks in the text sp that they are visible in Excel but
what string should I insert?

/Ladyhawke