Change worksheet in recorded VBA sort in Excel 2013 -


i recorded simple sort macro in excel 2013 put worksheet name in macro: activeworkbook.worksheets("jul15").sort.sortfields.clear. use macro sort dozen different worksheets in different workbooks , have same layout. how make macro work on spreadsheet choose?

also, excel, options, advanced, general: specify startup pgm doesn't work. path valid , binary .xlsb valid won't open @ startup.

i not programmer, @ least on pc's.

you can use activesheet instead of activeworkbook.worksheets("jul15")

it work on sheet open.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -