Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,

looking for a solution on this:
'oBook.SaveAs("C:\Book13.xls", Excel.XlFileFormat.xlExcel9795) -> parameter 'Excel.XlFileFormat.xlExcel9795' doesn't work. 'Excel.XlFileFormat.xlExcel7' (excel95) works but doesn't accept VBA code in the excel file.
I use
-vbstudio 2005
-interop.excel.dll 1.5.0.0.
-office 2003 & office 365
-windows 7 & win XP

Chris
Posted
Updated 28-Sep-19 6:55am
v3
Comments
phil.o 18-May-14 12:54pm    
Could you define "doesn't work"? Because it is not a clear issue description.
Do you have any error message? any exception?

1 solution

There is a forum dedicated to such questions at Office VBA support and feedback | Microsoft Docs[^].
 
Share this answer
 
Comments
Richard Deeming 30-Sep-19 10:27am    
Did you spot the date? I suspect a now-deleted spammer pushed this back into the "active" list.
Richard MacCutchan 30-Sep-19 10:56am    
Oops; I usually spot those.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900