-
Unable to get the SaveAs property of the Workbook class
Good morning!
Does anyone know how to solve this??
I can access all methods and properties, for example, when I call this:
$worksheet = $output_workbook->Worksheets("Sheet1");
$range = "B3";
echo $worksheet->Range($range)->Value;
It'll show the right value.
But when I call the save method
$output_workbook->SaveAs("C:\test.xls");
it simply doesn't work and I get this error:
"Unable to get the SaveAs property of the Workbook class"
I'm dealing with 3 documents that relate with each other, there's an input excel file, an input word file, and the output excel file (the one which throws the exception)
I noticed when I open the word file, says "A table in this document has become corrupted". I think this may be the problem... but why can I access all the output workbook members except Save and SaveAs?
This seems strange :S
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules