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

database - How many Observations in SAS Sample Data Output -

javascript - Feed FileReader from server side files -

emulation - Android map show my location didn't work -