So I have a very simple line of code that should activate a cell on another sheet but in the same workbook but I can’t figure out why it doesn’t work:
Sheets("me").Range(Cells(rownum, colnum)).Activate
It give an “application or object defined” error. rownum and colnum are defined variables and when hovering them in debug mode they show integer values.
You need to activate the worksheet before you activate a cell on it.
Try this instead: