DADiSP Worksheet Functions > Function Categories > ActiveX > Automation Client > WS2HTML

 

WS2HTML

Purpose:

Converts the current Worksheet to HTML using MS Word and ActiveX.

Syntax:

WS2HTML("filename")

"filename"

-

Optional. A string, the name of the target HTML file. defaults to "dadisp.htm".

Returns:

An HTML file suitable for the Web

Example:

ws2html

 

converts the current Worksheet to the HTML file named "dadisp.htm". The conversion is accomplished using the SaveAs ActiveX method of Microsoft Word. The resulting HTML file can be displayed with any Web Browser.

Remarks:

WS2HTM requires MS Word.

See Also:

CREATEOBJECT

MSWORD

MSWORD2