I totally agree with Alex. DDE is DEAD!!! It's slow, difficult to use, a pig, and not robust. Use Automation.
>I am useing DDE to get data from an excel spreadsheet. Everything works fine but what is the command to quit excel. It was opened with doverb(-2)
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer