richard smith

richard smith

  • 1.1k
  • 285
  • 157.4k

Debug error when saving workbook

Feb 13 2013 12:05 PM
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.

Answers (1)