LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding Excel UI

Solved!
Go to solution

I am using the Report Generation Toolkit to process a lot of Excel files, up to 15,000 at a time. I'd like to make it so that the Excel UI doesn't show up. I think it will increase speed dramatically. I figure it is an ActiveX method or property but can't locate the proper one. Has anyone got a tip?

0 Kudos
Message 1 of 4
(2,416 Views)

Hi Rimfire44, 

 

As the report generation toolkit calls into Excel to do all the processing, Excel has to be open and running to accept these calls. There may be an ActiveX method or call to disable the UI in Excel. However, it would be documented by Microsoft, not National Instruments. 

 

Please refer to this KB article on how to find ActiveX Objects and Methods documentation for Microsoft Office. 

 

http://digital.ni.com/public.nsf/allkb/29CDE4332C4E6A27862570AE006ECBF4?OpenDocument

 

-N

National Instruments
Staff Certification Engineer
0 Kudos
Message 2 of 4
(2,381 Views)
Solution
Accepted by topic author rimfire44

Hi rimfire,

 

you need to call Excel with some ActiveX magic:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 4
(2,378 Views)

This worked perfectly. Thanks for the help.

0 Kudos
Message 4 of 4
(2,358 Views)