Excel DDE macro examples
Launching WinWedge from within Excel
Start WinWedge with your saved configuration from an Excel macro, and close it with a command from WinWedge’s more advanced DDE mode.
Use either of the two examples below to launch WinWedge directly from Excel. The first example uses the ShellExecute function as defined. This allows you to launch the WinWedge configuration file just knowing the file name and path. If it is located in the same folder as the Excel workbook, then you can just use the file name. The second example uses the Shell function and requires that you know the full path of WinWedge and the file name and/or path of the configuration file.
Note: If you name an Excel subroutine “Auto_Open()”, Excel will automatically run the routine whenever the spreadsheet that contains it is initially opened. The Auto_Open subroutine is an excellent place to launch the Wedge (as well as do any other initialization functions that you might require).
Last modified on November 3, 2026