RE: [Rcom-l] Rcom and access to MsWord

2008-03-13 Thread Rik Schoemaker
quot;,1) comInvoke(TOC,"Update") Cheers, Rik -Original Message- From: Rik Schoemaker [mailto:[EMAIL PROTECTED] Sent: 11 March 2008 09:24 To: 'R (D)COM and RExcel server related issues' Subject: RE: [Rcom-l] Rcom and access to MsWord Dear all, I'm slowly making progre

RE: [Rcom-l] Rcom and access to MsWord

2008-03-11 Thread Rik Schoemaker
und").Select or ActiveDocument.Bookmarks(2).Name Can anyone give a clue as to how to drill down to that level because so far all my attempts fail miserably Thanks in advance! Rik -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rik Schoemaker Sent: 13 December 2007 09:

RE: [Rcom-l] Rcom and access to MsWord

2007-12-13 Thread Rik Schoemaker
ible",TRUE) #Starts a new document newdoc <- comInvoke(comGetProperty(x,"Documents"),"Add") # create a new shape myShapes<-comGetProperty(newdoc,"Shapes") myPicture<-comInvoke(myShapes,"AddPicture", myfile,0,-1,80,80,400,300) Best regards, Mark

[Rcom-l] Rcom and access to MsWord

2007-12-12 Thread Rik Schoemaker
much in advance! Rik Schoemaker p.s. this is what is functional so far: library(rcom) #open the Microsoft Visual basic window from within Tools/Macro/Visual Basic Editor for VBA syntax #Starts the Word application with x as handle x<-comCreateObject("Word.Application") #An