Thank you, I found the problem myself yesterday.
It works like a charm now.
Hi,
I have attached a link to a document that discusses the error you are
getting:
http://digital.ni.com/public.nsf/websearch/83ACB581701C801586256B8F00712990?OpenDocument";>Error
-2146827284 When Importing a Macro to Office 2002/XP
I hope this helps.
Sincerely,
Feroz
National Instruments
In Excel, goto Tools -> Macro -> Security, check all the boxes so it
trust all macro source (you can test to find out which one works, or
check all of them), also try to lower the security setting from
highest to medium or even lowest.
-Joe