ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   HyperLink Exception (https://www.excelbanter.com/excel-programming/330999-hyperlink-exception.html)

Edi

HyperLink Exception
 
Hi,

Im using Excel 2003 winXp and c# .net 1.1
Im trying to folow a hyperlink via code

object oMissing = System.Type.Missing;
object TRUE = true;
object FALSE = false;

HyperLinkObject.Follow(FALSE,FALSE,oMissing,oMissi ng,oMissing);

but im keep getting an invalid cast exception on the "Follow" function
the operation is still done but i can't remove this exception

any ideas?

Thanks



All times are GMT +1. The time now is 12:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com