🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17862

VB question: type mismatch

#17862
From: Ana Greenspan
Date: Sat, 10 May 2003 00:58
9 lines
984 bytes
I'm trying to do this:

Dim pi As InDesign.PageItem
   Set pi = page.PageItems.Item(1)

Get type mismatch on last line,
The item turns out to be an rectangle and I thought PageItem is the base of everything. Why is this not working?

Thanks!
Technical Details
Message-ID: <1de9125c.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!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,2e58c5c8e33c7ae1,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-09 18:07:56 PST
From: "Ana Greenspan" <mrsgreenspan@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: VB question: type mismatch
Message-ID: <1de9125c.-1@WebX.la2eafNXanI>
Date: Fri, 9 May 2003 17:58:11 -0700
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit