🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18531

Duplicate page (VB6)

#18531
From: bluelight
Date: Thu, 20 Mar 2003 07:14
15 lines
957 bytes
Hy guys,

I'm trying to duplicate a page in vb but i get a TypeMismatch error.

Here is the code:

Dim curIndyPage, newIndyPage As InDesign.Page
....

Set curIndyPage = indySpread.Pages.Item(1)
Set newIndyPage = curIndyPage.Duplicate

any ideas?

thanks.
Technical Details
Message-ID: <1de86047.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,529d7e43b4fd8d99,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-03-19 23:37:28 PST
From: bluelight <catagras@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Duplicate page (VB6)
Message-ID: <1de86047.-1@WebX.la2eafNXanI>
Date: Wed, 19 Mar 2003 23:14:13 -0800
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit