Problem in Adding hyperlink to Excel 97
-
Hi all i tried to add hyperlink in EXcel and it worked fine with office XP and 2000. but when i run the samein Office 97 with windows 98 OS the following exception comes ************** Exception Text ************** System.Reflection.TargetParameterCountException: Number of parameters specified does not match the expected number. at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at Excel.Hyperlinks.Add(Object Anchor, String Address, Object SubAddress, Object ScreenTip, Object TextToDisplay) at DMPTEST.ReportGenerator.Timer1Tick(Object sender, EventArgs e) at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) The code which i used to add hyperlink is indexWorkSheet.Hyperlinks.Add(indexWorkSheet.Cells[intSlNoCount+8,4], "" ,"'Sheet 1'!A1" , "Click ", "textToDisplay" ); Plz help me out why is it not working with office 97