Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default Call Not Working in Excel 97

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default Call Not Working in Excel 97

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

"Raul" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default Call Not Working in Excel 97

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

"JulieD" wrote:

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

"Raul" wrote in message
...
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Call Application.Volatile(True) NOT WORKING FARAZ QURESHI Excel Discussion (Misc queries) 1 May 8th 08 04:50 AM
Call Center Management: How to calculate 'cost per call' Denniso6 Excel Discussion (Misc queries) 2 June 25th 06 05:01 PM
Call other application from excel A-Design Excel Programming 6 November 19th 04 10:13 PM
COM-call-in to Excel John Kessel Excel Programming 1 November 6th 04 10:11 PM
Macro working in Excel 2003; not working in Excel 2000 Leslie Barberie Excel Programming 5 May 20th 04 07:51 PM


All times are GMT +1. The time now is 01:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"