Re: $$Excel-Macros$$ function call return parameter always zero

2012-04-15 Thread Domain Admin
Never mind. Too late to be trying to debug code. Left out the actual assignment FillResults = x about which VBA is apparently quite picky. On Sun, Apr 15, 2012 at 2:05 AM, tangledweb wrote: > I assume this has to do with the assignment being to a variable that is > passed into the function, bu

$$Excel-Macros$$ function call return parameter always zero

2012-04-15 Thread tangledweb
I assume this has to do with the assignment being to a variable that is passed into the function, but if so is there something more elegant than using a temporary copy for the maxrow value passed in or making it global? The function needs to know the value of maxrow on entry and needs to incremen