Just switched from 2003 to 2010. The following is my tried and true code for 2003:
ActiveWorkbook.SaveAs FileName:= _
"\\12AUST1001FS01\SHARE10011\Budget\SOBUDGET\CPS\Reports\Budget Monitoring Tool\Todays Contracts.xls", _
FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
It's failing when I run my macro in a 2010 workbook, saying "Can't Access "Todays Contracts.xls"
Based on Ron's tips here http://www.rondebruin.nl/saveas.htm I tried to change it like this:
ActiveWorkbook.SaveAs FileName:= _
"\\12AUST1001FS01\SHARE10011\Budget\SOBUDGET\CPS\Reports\Budget Monitoring Tool\Todays Contracts.xls", _
FileFormat:=56, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
But this also failed. What am I doing wrong?
Bookmarks