excel - Application defined or object defined error in VBA in passing parameter to a function -


I am trying to pass a worksheet variable as its parameter to the function here is a code

Can someone tell me why I am wrong here ...

  ah = sheets ("wrk");  . / P> 
  ah = wrk.Cells (b, varcol - 1)    

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -