>I am currently writing a Win32 application with Visual C++ and I want my >application to talk with Excel using DDE. >Does anyone know what commands Excel supports? I can't find a list >anywhere. The only commands I can find are [open()], [print()] and >[close()], but what else is there? You must be able to move around a >worksheet but commands like [goto('Sheet1'!A1)] don't work with DDE. >Can anyone help, I'm really stumped. >Any help would be greatly appreciated. > DDE commands supported by Excel are all macro commands (not VBA) that do not return a value. For instance you ill be able to use the SELECT or ACTIVATE command (in order to select a range or activate a sheet in a workbook) but you will not be able to use the REFTEXT command. You can record your actions in Excel in order to find what commands you should use. Remember that when you want to record some macro, you have to tell excel to create the record in the old macro language. You will find some help in the following file : MACROFUN.HLP (from Excel 5.0 or Excel 95). I don't know why you need to use DDE but you should really consider using OLE Automation. Hope this helps. Daniel