🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20196

Re: How can I save a document as HTML from VB

#20196
From: Olav Kvern
Date: Mon, 05 Aug 2002 15:40
12 lines
1059 bytes
Ahmad-- 

The trouble is with the constant/enum you're trying to use "indFormatHTML"--take a look at the available values in idExportFormat constant list using the Visual Basic Object Browser. 

What you want is "idExportHTML", as in: 

Indapp.ActiveDocument.Export idExportHTML, "c:\myTestFile.html", False 
 

Thanks, 

Ole
Technical Details
Message-ID: <efa06b7.1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newspump.sol.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <efa06b7.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,32592e7b03217711
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-08-05 09:11:43 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newspump.sol.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: How can I save a document as HTML from VB
Message-ID: <efa06b7.1@WebX.aaQKaf7vad4>
Date: Mon, 5 Aug 2002 08:40:49 -0700
References: <efa06b7.-1@WebX.aaQKaf7vad4>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit