RE: $$Excel-Macros$$ Syntax error on calling subroutine

2011-08-05 Thread Rajan_Verma
error on calling subroutine I found a subroutine that creates random samples from a data set. Trying to utilize within another subroutine, but I'm getting a syntax error. Sub Seer is the main routine; Sampling is the routine I'm trying to call. Advice appreciated.

Re: $$Excel-Macros$$ Syntax error on calling subroutine

2011-08-05 Thread ashish koul
try this Call Sampling(AllData, SomeData) add call before calling subroutine see if it helps On Fri, Aug 5, 2011 at 11:48 PM, marston.go...@allstardirectories.com < marston.go...@allstardirectories.com> wrote: > I found a subroutine that creates random samples from a data set. > Trying to uti

$$Excel-Macros$$ Syntax error on calling subroutine

2011-08-05 Thread marston.go...@allstardirectories.com
I found a subroutine that creates random samples from a data set. Trying to utilize within another subroutine, but I'm getting a syntax error. Sub Seer is the main routine; Sampling is the routine I'm trying to call. Advice appreciated. Sub Seer() Dim Ndays As Integer Dim Sdays As Integer Nday