Hi, all
I was looking how to schedule Macros and find this handy thread:
http://www.mrexcel.com/forum/excel-q...pen-excel.html
(Task scheduler + VB script to auto open excel)
I tried to do exactly same on 2007, and 2010 and failed, tried all version posted in there,
but have this error:
C:\xxx\myScript.vbs(9, 1) Microsoft Office Excel: Cannot run the macro 'AddTimeInColumn'.
The macro may not be available in this workbook or all macros may be disabled.
I found that when this vbs open book1.xlsx it doesn't bring personal.xlsb or there is some other reason, I don't have AddTimeInColumn in my macros menu, but it's in module of personal.xlsb,(not workbook though) probably because of <Private> or using parameter??
can anybody make it run or point why mine is not working?
I'm W7, tried office 2007, and 2010, ran thru all troubleshooting as checking Disable list, Enable Macros, Enable vbs script, tried xlsx and just .xls.
Thanks
Mario
Bookmarks