Re: Updating a Graph in word
- From: matthew198@xxxxxxxxxxxxxx
- Date: Thu, 18 Dec 2008 09:47:00 -0800 (PST)
Cindy,
Thanks for reply. No I have tried just running that line (Set oleF =
doc.InlineShapes(1).OLEFormat - in fact that shouldn't have been in
the post as it was one of test lines I had tried out) and it gives me
an error saying:
This object was created in MS graph.
This application is not avaliable to open this object.
Make sure the application is properly installed and that it has not
been deleted, moved or renamed.
I have read else where that this is related to objects embedded in
embedded objects but I am not sure how this applies. All I want to do
is to plot and then update an array which I can't think can be that
differcult - although I am finding it really difficult to find a
solution!
Hope you can help me further.
Best regards
Matthew
On 18 Dec, 08:23, Cindy M. <C.Meiste...@xxxxxxxxxx> wrote:
Hi Matthew
I have a user form from which I want to plot agraph. I know how to
get the info from the form but am finding it difficult to plot the
graph. I have got the code below from another website which seems to
do what I want (e.g. plot agraph) but it inserts a newgrapheach
time you run the code. I am sure it is due to the line I have marked
"here" but I don't know how to change it to reference an existing
graph? Also I am not sure how to add a second series to thegraph?
Yes, that would be where the problem is coming from. Does it not run
if you leave this line commented out, so that this one runs?
Set oleF = doc.InlineShapes(1).OLEFormat
To get help with setting up series, I recommend you ask in an Excel
newsgroup. The graphing engine is the same one Excel uses. Be sure to
mention which version of Office you have, as the graphing engine
changed in 2007.
Cindy Meister
INTER-Solutions, Switzerlandhttp://homepage.swissonline.ch/cindymeister(last update Jun 17 2005)http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :-)
.
- Follow-Ups:
- Re: Updating a Graph in word
- From: Cindy M .
- Re: Updating a Graph in word
- References:
- Updating a Graph in word
- From: matthew198
- Re: Updating a Graph in word
- From: Cindy M .
- Updating a Graph in word
- Prev by Date: Re: Need macro to always go to the same folder
- Next by Date: RE: Auto populate an area of a template based on checkbox selection
- Previous by thread: Re: Updating a Graph in word
- Next by thread: Re: Updating a Graph in word
- Index(es):
Relevant Pages
|