03-19-2008 12:19 AM
03-20-2008 09:33 AM
03-24-2008 06:34 PM
I have written a vi to update/transfer data from table format into an excel spreadsheet when the vi is run.
Sub add_in()
AddIns("DPlot Interface").Installed = True
End Sub
in the beginning of the vi to 'enable' the add-in and then when i want to quit, I run the next macro :
Sub add_out()
AddIns("DPlot Interface").Installed = False
End Sub
at the end of the same vi, everything works perfectly. I thought that opening Excel via Labview should automatically run all add-ins that have already been installed into Excel previously. Is there a way to have the add-in command always there without the hassle of turning it on and off? Cheers!
03-25-2008 09:44 PM
Hi flai,
Thanks for the information. Have you tried to implement the property nodes and methods for AddIns? There is an object AddIn in the property node of "_Excel.Application" and you can invoke a method "Add Excel.AddIns", which has a file name as an input. Maybe trying to implement these into your code can help bring up the Add-ons in excel at startup. I hope that helps a bit!
04-16-2008 07:17 AM
I am usingLabView 8.5 and excel 2003 SP3