$$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

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

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

2011-08-05 Thread Rajan_Verma
Call sampling Function like this Sampling allData, SomeData From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of marston.go...@allstardirectories.com Sent: Friday, August 05, 2011 11:48 PM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Syntax