LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error -2147221080 (0x800401A8) with Excel ActiveX on sheet access

Hi all !

 

I get this error while accessing an excel sheet.

Could it be linked to file permissions or something?

 

Thanks!

Download All
0 Kudos
Message 1 of 4
(2,931 Views)

Well... it kind of resolved itself.

I just added a 'Worksheet' property node before the 'Range' method and it then worked. I then removed the property node and it was still working!

I don't understand exactly what happened here...

 

Anyone got an idea?

 

 

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

i have a similar error and i dont know what happend

 

0 Kudos
Message 3 of 4
(2,701 Views)

Had the same issue.  I started with a working vi that I changed for a different purpose.  It was after I changed it that the error started, so I could go back and trace the error.  In my case, it was caused when I removed the error wire that went from the invoke 'worksheet/activate' node to the invoke 'worksheet/close' node.  Rewiring the error wire fixed the issue.

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