🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17485

Re: Applying ParaStyle To Text used to work(VBA), and now it doesn't. (VB) WHY???

#17485
From: johannes
Date: Fri, 06 Jun 2003 07:51
15 lines
1117 bytes
Hi again,

found it out myself:

in VBA this was working

objPageItem.FillColor = objMyDoc.Colors("Green")

but in VB it needs to be

objPageItem.FillColor = objMyDoc.Colors.Item("Green")

- thats it

J.
Technical Details
Message-ID: <e553fe8f.0306052351.4b713d40@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <e553fe8f.0306050614.1018d7ef@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,ae19976bcb6c6de4
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-06-06 00:51:30 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: johannesbuchmann@hotmail.com (johannes)
Newsgroups: adobe.scripting.indesign
Subject: Re: Applying ParaStyle To Text used to work(VBA), and now it doesn't. (VB) WHY???
Date: 6 Jun 2003 00:51:29 -0700
Organization: http://groups.google.com/
Lines: 15
Message-ID: <e553fe8f.0306052351.4b713d40@posting.google.com>
References: <e553fe8f.0306050614.1018d7ef@posting.google.com>
NNTP-Posting-Host: 192.129.25.10
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1054885890 4854 127.0.0.1 (6 Jun 2003 07:51:30 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 6 Jun 2003 07:51:30 GMT