Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Now, save that xml as a html in my web_page directory...
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01056887
Message ID:
01057648
Views:
25
Publsih whole workbook:
#define xlSourceSheet	 1
#define xlSourceWorkbook 0
#define xlHtmlStatic     0

With .ActiveWorkbook.PublishObjects.Add(xlSourceWorkbook, "C:\Page.htm", , , xlHtmlCalc,;
                                        "Book1_25990", "Title of the web page")
     .Publish(.t.)
     .AutoRepublish = .f.
EndWith


** Publish only one sheet:

With .ActiveWorkbook.PublishObjects.Add(xlSourceSheet, "C:\Book12.htm", "Name of the Sheet you want to publish",;_
                                        "", xlHtmlStatic, "Book1_12385", "Title")
     .Publish (.t.)
     .AutoRepublish = .f.
EndWith
(not tested)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform