i need the ascii code for the ENTER key
or
i need the command like "VBKeyE" just instead the "E" i need it for the "ENTER" key
thanxxx
Printable View
i need the ascii code for the ENTER key
or
i need the command like "VBKeyE" just instead the "E" i need it for the "ENTER" key
thanxxx
The VB name is vbKeyReturn, the ascii code is 13. If you want to simulate a carriage return with code ... you need to add the linefeed code which is 10, for example, txtMyText = "Hello World" + Chr$(13)+ Chr$(10)
Sky1000