Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel - save as
Message
From
06/04/2000 11:29:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/04/2000 10:36:36
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00356248
Message ID:
00356310
Views:
18
>How would I go about opening an excel spreadsheet and saving as HTML
>from with-in VFP ? I don't want the spreadsheet to display just convert to HTML !
>
>Thanks CB !!


You don't need to show.
oExcel = createobject("Excel.Application")
with oExcel
 .Workbooks.Open(lcXLSFile)
 with .ActiveWorkbook
     .SaveAs(lcfilename,xlHTML)
     .Saved = .t.
     .Quit
 endwith
endwith
Cetin (CB:)
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform