in reply to Re: Can I save my document to html page?
in thread Can I save my document to html page?

Looking at the error message, it seems to me that the constant wdFormatHTML is not defined, hence the complaint about the bareword. I'm not a Win32 programmer, but maybe there's a spelling error somewhere or something like that.

Arjen

Updated:forgot a word.

Replies are listed 'Best First'.
Re: Re: Re: Can I save my document to html page?
by Aragorn (Curate) on Jan 21, 2003 at 11:46 UTC
    You could try something like this to list all the wd* constants which are imported (untested):

    C:\perl -M'Win32::OLE::Const "Microsoft Word"'\ -e 'print join("\n", grep { /^wd/ } keys %main::;

    Arjen