Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Office 2007 problem
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Office 2007 problem
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01374126
Message ID:
01374126
Views:
60
Hi everybody,

Sorry for starting a new thread with the problem.

I have this code
IF '12' $ loExcel.VERSION && XL 2007
		* Kevin Delaney's suggestion
		loExcel.SAVEAS(tcXLSFileName, 39) && 39
	* Cetin Basoz suggestion
		loExcel.ActiveWorkbook.Saved = .T.
		loExcel.ActiveWorkbook.CLOSE(0)		
	ELSE
		loExcel.SAVE()
	ENDIF
and it gives me an error "Unknown name"

Commenting out SaveAs line doesn't save my formatting.

What can we do in Office 2007?

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform