Access DDE macro examples
Transmitting commands to devices from Access
Send commands and text to your serial device from a VBA macro with WinWedge using its more advanced DDE mode.
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
This code can even be used to send an entire table or query out the serial port:
Last modified on November 3, 2026