OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

MACRO CHANGEMENT DOCUMENT

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
laubriat
Newbie
Newbie


Joined: 10 May 2005
Posts: 1

PostPosted: Tue May 10, 2005 1:02 am    Post subject: MACRO CHANGEMENT DOCUMENT Reply with quote

Hi
I open n documents sheet with automatic sqlrequet ( on a mysql base) and i want to copy the result of these requets in a writer document with a macro in BASIC
i cann't activate the writer document to execute the collate

i use following syntaxe to open documents and i don' t want to close an open the writer document each time i want make the collate

thanks if you have a sollution


oDesktop = createUnoService("com.sun.star.frame.Desktop")

sUrl = "file:///D:/mes_docs/rass/effectif.sxc"
oDocument1 = _
oDesktop.LoadComponentFromURL(sUrl,"_blank",0,Args())
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group