エラー対処方法教えてください。

HI @mika47

If you are converting a obj to integer

Try like

Cint(VAr.Tostring)

Regards
Sudharsan