Article ID: 133045
Article Last Modified on 10/10/2006
Sub Get_Info
' Starts a second instance of Microsoft Excel.
Shell("Excel")
' Initiates a DDE Channel System topic of Microsoft Excel.
Chan=Application.DDEInitiate("Excel", "System")
' Creates an array called Info that contains all available
' system topics for Microsoft Excel.
Info=Application.DDERequest(Chan, "SysItems")
' Displays message box for all of the available
' system topics in Microsoft Excel.
For X=1 to Ubound(Info)
Msgbox Info(X)
Next
' Terminates the DDE Channel.
Application.DDETerminate Chan
End Sub
The system topic of "SysItems" returns a list of available items. Any item
returned by "SysItems" can be used as the item argument in the DDERequest
method. For Microsoft Excel, the list of available topics consists of the
following:
Additional query words: 5.00c 8.00 97 XL
Keywords: kbdtacode kbhowto kbprogramming KB133045