$$Excel-Macros$$ Re: Problem with Calling a Sub in a Module from a Form

2009-11-07 Thread Fabio Lemos
just remove the parentesis as follow: Modul1.Get_Param CInt(TextBox1.Text), CInt(TextBox2.Text) 2009/11/6 laudes > > Hi all > > I've got a problem and it seems, that I'm not able to solve it without > your help. Needless to say anything more about my programming- > skills ;-) > There is a

$$Excel-Macros$$ Re: Problem with Calling a Sub in a Module from a Form

2009-11-07 Thread Hemant Hegde
I guess when you are passing some values to a sub, You should use "Call" keyword Try Call Modul1.Get_Param(CInt(TextBox1.Text), CInt(TextBox2.Text)) Hemant Hegde 2009/11/6 laudes > > Hi all > > I've got a problem and it seems, that I'm not able to solve it without > your help. Needless to s