Skip to main content
Note: For a list of DDE commands, check out the support article listing WinWedge DDE Commands. WinWedge makes it very easy for Excel or Access to communicate with the device. This isn’t limited to simply logging data from the device to Excel or Access, but WinWedge also enables Excel or Access to send data directly from VBA using WinWedge’s “SENDOUT” and “SEND” DDE Commands

Sending a command to the device using sendout DDE command

The following code allows you to send any command to your device. In this example, we’re sending four characters: an ASCII 27 (an ESC character), a capital ‘P’, and a carriage return and line feed characters (ASCII 13 and 10).

Sending a string to the device using send DDE command

If you need to send an entire string to the device, you can use the following code:
This code can even be used to send an entire table or query out the serial port:
Last modified on November 3, 2026