LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

dde with excel and CVI/LabWindows

I need to obtain the worksheet name on the Excel tab. The command for this "[GET.DOCUMENT(1,name)]". The macro indicates that Excel will return the name as a parameter (name) but it is not a variable in CVI, since it is inside the quotes. How do I make this command work from CVI.
0 Kudos
Message 1 of 2
(2,925 Views)
Hello

Check out the example included with CVI, it is located under CVI/Samples/DDE/ddedemo. It should explain how to retrieve data from excel.
You would probably need to use ClientDDERead, and set up the macro right.

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,925 Views)