I try this and I'm getting the following error on the saveas line:
Exception calling "SaveAs" with "1" arguments(s): "Cannot access read-only document
I have "$False" for the readonly parameter on the open method so I don't understand why I'm getting this error.
Here's the Open statement
$wb = $xl.Workbooks.Open(<file>,1,$False,5,"abc123","abc123")
Here's the SaveAs statement
$a = $wb.SaveAs(<file>