I just started running Excel 2013 and some of the vba code that I used for Excel 2010 isn't working. I get a "Subscript out of range" error when stepping through the code. The line reads:
Is there an Excel 2013 equivalent for this line of code (I don't want to use the sheet name)?
Code:
Sheets(2).Select
Is there an Excel 2013 equivalent for this line of code (I don't want to use the sheet name)?