Article View: adobe.scripting.indesign
Article #17123Re: [VB] Place a table into an existing text frame
From: roberto soto
Date: Mon, 07 Jul 2003 15:44
Date: Mon, 07 Jul 2003 15:44
20 lines
1490 bytes
1490 bytes
Jens,
Using the Texts collection of your TextFrame maybe the solution:
Set myInDesign = CreateObject("InDesign.Application.2.0")
Set myDocument = myInDesign.Documents.Add
Set thisActualPage = myDocument.Pages.Item(1)
Set myTextFrame = myDocument.TextFrames.Add
myTextFrame.Label = "TestFrame"
myTextFrame.GeometricBounds = Array("5p", "4p", "18p", "22p")
Dim thisFrame As InDesign.TextFrame
Set thisFrame = thisActualPage.TextFrames.Item("TestFrame")
Call thisFrame.Texts.Item(1).Place(filename:="c:\test.xls", autoFlow:=False, _
importOptions:=False, retainFormat:=True, convertQuotes:=True)
Roberto
roberto1soto@yahoo.com
Technical Details
Message-ID:
<1de9d0a8.3@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!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<B168702BCBE08F688C899999895B874C@in.WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,41f382ef5b66028c X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-07 09:09:48 PST From: "roberto soto" <roberto1soto@hotmail.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!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: [VB] Place a table into an existing text frame Message-ID: <1de9d0a8.3@WebX.la2eafNXanI> Date: Mon, 7 Jul 2003 08:44:36 -0700 References: <B168702BCBE08F688C899999895B874C@in.WebX.la2eafNXanI> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit