I am generating an excel worksheet via csharp. Some of the header row cells are lengthy and I want to insert a newline character into cell, but I can't figure out what the ascii/char code is. I know it's not the following:
\r\n (white space)
Enviornment.NewLine (white space)
char(10) (white space)
char(13) (0 length character/non-character)
I know when I add a new line to Excel manually I need to hold the <alt> key. Would I need to account for the <alt> key to enter the new line programatically? If so what is the ascii code for <alt><enter>?
thank you for your assistance.
Jason Meckley
Programmer
Specialty Bakers, Inc.
\r\n (white space)
Enviornment.NewLine (white space)
char(10) (white space)
char(13) (0 length character/non-character)
I know when I add a new line to Excel manually I need to hold the <alt> key. Would I need to account for the <alt> key to enter the new line programatically? If so what is the ascii code for <alt><enter>?
thank you for your assistance.
Jason Meckley
Programmer
Specialty Bakers, Inc.