range - unable to get currentregion property of the Region Class VBA -


i'm getting error "unable currentregion property of region class" in below piece of code. can help? defects_dump global constant defined sheet name.

dim wbktool workbook dim llastrow long  set wbktool = thisworkbook wbktool.sheets(defects_dump)     .activate     llastrow = .range("a1").currentregion.rows.count     'more code after this... end 


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -