ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   DDE an Alt-Enter (Newline) character (https://www.excelbanter.com/excel-programming/298184-dde-alt-enter-newline-character.html)

Ross Field

DDE an Alt-Enter (Newline) character
 
Hi

Does anyone know the ascii characters (or equivalent) for ALT-ENTER
(newline) when DDE'ing data to Excel?

Many thanks
Ross



Chip Pearson

DDE an Alt-Enter (Newline) character
 
Ross,

Try using ASCII 10.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Ross Field" wrote in message
...
Hi

Does anyone know the ascii characters (or equivalent) for

ALT-ENTER
(newline) when DDE'ing data to Excel?

Many thanks
Ross





Abhinav[_3_]

DDE an Alt-Enter (Newline) character
 
I am not sure what u mean by DDE'ing as I am a newbie ..


I DID find out that ALT-ENTER translates to 0a Hex (i.e. Ascii 10)

Thanks
Abhinav

Ross Field wrote:

Hi

Does anyone know the ascii characters (or equivalent) for ALT-ENTER
(newline) when DDE'ing data to Excel?

Many thanks
Ross





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com