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

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -