LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ExcelRpt_GetWorksheetFromName() does not work

I am running LabWindow 7.0 and using function ExcelRpt_GetWorksheetFromName().  Instead of the worksheet name, the function return the active worksheet when user save the excel file.  It did not return the eror code. 

0 Kudos
Message 1 of 2
(2,989 Views)

NiCoder,
Could you please provide a code snippet showing how you are calling this function?

 

From the function documentation for ExcelRpt_GetWorksheetFromName, it seems that it is supposed to get a worksheet handle given the name of the worksheet. It does not return the worksheet name, as you seemed to be implying from your post. Instead, you supply the name, and it returns the handle.

Jared A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,978 Views)