Several graph in a presentation cause values reset at edition

  • Thread starter Thread starter =?ISO-8859-1?Q?Ren=E9_Mouchot?=
  • Start date Start date
?

=?ISO-8859-1?Q?Ren=E9_Mouchot?=

hello,
i need a some ideas. i create 3 graphs a presentation using perl and ole
but when i click on one to edit it the datasheet and the graph setup are
resetted as if i did a 'Insert->Chart...' in the menu.
does it sound familiar to someone ?
 
hello,
i need a some ideas. i create 3 graphs a presentation using perl and ole
but when i click on one to edit it the datasheet and the graph setup are
resetted as if i did a 'Insert->Chart...' in the menu.
does it sound familiar to someone ?

Yes. And it's easily fixed. Before you call Application.Quit on your instance
of MSGraph, call Application.Update.
 
Steve said:
Yes. And it's easily fixed. Before you call Application.Quit on your instance
of MSGraph, call Application.Update.

Yes, you were right! I added the call to Update method and it worked
great! i don't really knows the reason of this, but i'll remember to
call Update.
A BIG thanks to you steve, i looked for a solution for at least 3 weeks :o)
 
Yes, you were right! I added the call to Update method and it worked
great! i don't really knows the reason of this, but i'll remember to
call Update.
A BIG thanks to you steve, i looked for a solution for at least 3 weeks :o)

Glad to be able to help. Update seems to be the method that writes the MSGraph
data you're working with back into the OLE object contained in the original PPT
file. Or something fairly close to that. ;-)
 
Back
Top