Call Not Working in Excel 97

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've got a routine that works in Excel version 10 but does not in Excel
version 9. The glitch is apparently in a call statement I'm making. What I'm
using looks like...

Sub Routine02 ()
Dim stuff as whatever
Get stuff
Call Routine03(ThisSheet, RNumRows, RFirstRowNum, LastRowNum,RFirstColNum,
RNumCol, OutputRow, OutputCol)
End Sub

Sub Routine03 (ThisSheet, RNumRows, RFirstRowNum, RLastRowNum,RFirstColNum,
RNumCol, OutputRow, OutputCol)

Do stuff
End Sub

Obviously version 10 is more forgiving of sloppy programming. Can anyone
tell me what I'm doing incorrectly?

Thanks in advance,
Raul
 
Hi Raul

when you put a breakpoint (click on the line & press F9) on the call
routine03 line and step through the code does it in fact go to sub routine03
or what?

Cheers
JulieD
 
JulieD,
Thanks for your help. It turns out I did a sloppy job of declaring the
variables. Everything worked on version 8 after I made the corrections to
the Dim statements.

Thanks again,
Raul
 
glad its solved :)

Raul said:
JulieD,
Thanks for your help. It turns out I did a sloppy job of declaring the
variables. Everything worked on version 8 after I made the corrections
to
the Dim statements.

Thanks again,
Raul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top