Look for a file called "TwsDde.xls" that gets installed on your computer when you install Interactive Brokers TWS. It will be in this directory: "C:\Jts\Excel". It's a demo of how TWS works with excel. You can receive quotes and send orders to TWS with this file. You can change the file to suit your own needs.