Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel: How To Save As HTML
Message
 
 
To
13/07/2006 20:55:38
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01136285
Message ID:
01136287
Views:
15
>I need to write a routine that will permit VFP to tell Excel to save a spreadsheet as HTML.
>
>I tried using the macro recorder, but it was no use because Excel used a wizard to do the SAVEASHTML and the macro contained no code. However, I am using an old version of Excel (Office/97).
>
>Is there a way to automate the SAVEAS HTML function in Excel?

Hi Chaim,

The following works in Excel 2003
#DEFINE xlHtml	44	
oWorkbook.SaveAs(lcHtmFileName, xlHtml) 
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform