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

table linked by DDE not updated when opened by macro

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
hugeidea
General User
General User


Joined: 06 Feb 2006
Posts: 20

PostPosted: Wed Mar 17, 2010 11:12 am    Post subject: table linked by DDE not updated when opened by macro Reply with quote

Hi everybody,
I have linked a table by DDE in a writer document. The table is updated when I open the doc manually. But when the document is opened by the macro (see code) there is no updating of the table. Anyone has an idea?

the code of the macro:

url=converttourl("g:/Dokumente und Einstellungen/Edgar/PV-Anlage/Test_Tabelleverknüpft.odt")
dim myFileProp() as new com.sun.star.beans.PropertyValue
oDocument=StarDesktop.loadComponentFromURL(url,"_blank",0, myFileProp())
Back to top
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 8995
Location: Lexinton, Kentucky, USA

PostPosted: Wed Mar 17, 2010 1:18 pm    Post subject: Reply with quote

Try Edit > Links to update.
Back to top
View user's profile Send private message
hugeidea
General User
General User


Joined: 06 Feb 2006
Posts: 20

PostPosted: Thu Mar 18, 2010 11:48 am    Post subject: Reply with quote

Once it has worked indeed (edit -link), I remember! But since then I tried to repeat it and everytime I get some unkown figures in the table. It seems to be figures which have been in the table some time ago. But where do they come from? Meanwhile there are really different figures in the original calc table.
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 Writer 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