Application.Workbooks.Open("C:\\Data\\workbook1.xls");
oWB.SaveAs("C:\\Reviewed\\Workbook1.xls");
It hits the saveline and tells meNullReferenceException was unhandled?
And nothing is null that is what has me baffled! The directory exists that I am trying to save to as well.
Debug error when saving workbook
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

richard smithRank #8,268 · 225 reputationPosted Feb 13, 2013, 7:50 AM EST
I modified the code to read:
Application.Workbooks.Open("C:\\Data\\workbook1.xls");
oWB = Application.ActiveWorkbook;
oWB.SaveAs("C:\\Reviewed\\Workbook1.xls");
And it now works :)