Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two problems with DBF to Excel function
Message
 
 
To
15/01/2009 05:03:02
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01373048
Message ID:
01373962
Views:
25
>>>2) I don't have 2007 here but this should work:
>>>
>>>
oExcel.ActiveWorkbook.Close(0)
>>>oExcel.ActiveWorkbook.Saved = .t. && just thi sline should be enough
>>>
>>>Cetin
>>
>>Hi Cetin,
>>
>>This
>>* Cetin Basoz suggestion
>>*!*		loExcel.ActiveWorkbook.CLOSE(0)
>>*!*		loExcel.ActiveWorkbook.Saved = .T.
>>
>>gave me an error ActiveWorkBook doesn't evaluate to an object.
>
>Then you don't have an active workbook:) BTW saved line would come first.
>Cetin

I'll try to reverse them, if Kevin's solution would not work, thanks again.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform