View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Edi Edi is offline
external usenet poster
 
Posts: 9
Default 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