Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.word.oleinterop,microsoft.public.word.vba.general,microsoft.public.excel,microsoft.public.excel.programming
JD JD is offline
external usenet poster
 
Posts: 5
Default Manipulating embeded exccel in word (Repost)

Hi there,

I have seen quite a few posts on this and know it is "easily"
accomplished, however I have a bit of a different requirement.

I have a Word document that I have embedded the following:

- 1 Sheet that holds score data that users can edit within word

- 6 Graphs (from the same workbook) that report the data in different
ways.

What I want to happen is that when the data in the embedded worksheet
is edited, then all the other graphs update to reflect the edited data
or scores.

Any ideas ? I have one, which is to cycle through each embedded chart
and copy the data scores from the embedded sheet to the relevant sheet
that the chart is linked to - but is there another way ?

Also as an aside - Is there a way to rename the objects ? Rather than
the arbitarily named 'ActiveDocument.Shapes("Object 3").Select' This
is a problem if you ever have to delete an then add embedded objects

Thanks in advance

Jason

  #2   Report Post  
Posted to microsoft.public.word.oleinterop,microsoft.public.word.vba.general,microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Manipulating embeded exccel in word (Repost)

JD,

If you've really embedded the workbook, then any changes to a sheet should
be reflected in sheets with dependent formulas. This includes charts.
However, if you've embedded each sheet (worksheet or chart sheet)
separately, they don't know about each other. You should embed once. That
really embeds the entire workbook. Now when you edit a sheet, the chart
sheets should update. You must switch between the sheet and the chart
sheets in the one object. If you're using Insert - Object in Word, do this
once, then while in edit mode for that embedded workbook, add your charts.
If you're using Paste - Special, copying from Excel, then do this once also.
Same deal.

Now if you want the sheet and the charts to appear in separate places in the
Word document, it will require linking (not just embedding) to a common
document. Post back.
--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

"JD" wrote in message
oups.com...
Hi there,

I have seen quite a few posts on this and know it is "easily"
accomplished, however I have a bit of a different requirement.

I have a Word document that I have embedded the following:

- 1 Sheet that holds score data that users can edit within word

- 6 Graphs (from the same workbook) that report the data in different
ways.

What I want to happen is that when the data in the embedded worksheet
is edited, then all the other graphs update to reflect the edited data
or scores.

Any ideas ? I have one, which is to cycle through each embedded chart
and copy the data scores from the embedded sheet to the relevant sheet
that the chart is linked to - but is there another way ?

Also as an aside - Is there a way to rename the objects ? Rather than
the arbitarily named 'ActiveDocument.Shapes("Object 3").Select' This
is a problem if you ever have to delete an then add embedded objects

Thanks in advance

Jason



  #3   Report Post  
Posted to microsoft.public.word.oleinterop,microsoft.public.word.vba.general,microsoft.public.excel,microsoft.public.excel.programming
JD JD is offline
external usenet poster
 
Posts: 5
Default Manipulating embeded exccel in word (Repost)

Thanks Earl

That makes sense, and seems to work when I manualy copy a chart from
the Embedded workbook and then Embed it as a linked, in another part of
the Word document.

[To summarise - I am embedding a linked chart from an already embedded
Excel worksheet that contains the data (and charts)]

Word
|
|__Embedded Excel Workbook with data sheet and several charts
|
|____Embedded, Linked Charts from above.

Now I just need to work out how to update all this automatically - the
update link doesn;t seem to "referesh" the charts.

I assume if I embed/link all my charts then these should automatically
update when the Embedded Source data sheet is changed. I am having a
few problems with this, but I will keep plugging away.

If you have any tips or hints on this let me know.

Thanks

Jason.

  #4   Report Post  
Posted to microsoft.public.word.oleinterop,microsoft.public.word.vba.general,microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Manipulating embeded exccel in word (Repost)

JD,

How are you embedding the stuff? Paste Special? Insert - Object?

--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

"JD" wrote in message
oups.com...
Thanks Earl

That makes sense, and seems to work when I manualy copy a chart from
the Embedded workbook and then Embed it as a linked, in another part of
the Word document.

[To summarise - I am embedding a linked chart from an already embedded
Excel worksheet that contains the data (and charts)]

Word
|
|__Embedded Excel Workbook with data sheet and several charts
|
|____Embedded, Linked Charts from above.

Now I just need to work out how to update all this automatically - the
update link doesn;t seem to "referesh" the charts.

I assume if I embed/link all my charts then these should automatically
update when the Embedded Source data sheet is changed. I am having a
few problems with this, but I will keep plugging away.

If you have any tips or hints on this let me know.

Thanks

Jason.



  #5   Report Post  
Posted to microsoft.public.word.oleinterop,microsoft.public.word.vba.general,microsoft.public.excel,microsoft.public.excel.programming
JD JD is offline
external usenet poster
 
Posts: 5
Default Manipulating embeded exccel in word (Repost)

Paste Special



  #6   Report Post  
Posted to microsoft.public.word.oleinterop,microsoft.public.word.vba.general,microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Manipulating embeded exccel in word (Repost)

JD,

Have the chart in a worksheet (even if it's by itself), not a chart sheet.
Paste the workbook into the Word document as an Excel workbook object.
Double-click it into edit mode.
Navigate to the chart, select it. Copy.
Navigate back to the sheet. Click outside the edit box to leave edit mode.

Click to the location in the Word document that's to have the linked chart
Edit - Paste special - Microsoft Excel Chart Object, Paste Link.

Done.

--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

"JD" wrote in message
oups.com...
Paste Special



  #7   Report Post  
Posted to microsoft.public.word.oleinterop,microsoft.public.word.vba.general,microsoft.public.excel,microsoft.public.excel.programming
JD JD is offline
external usenet poster
 
Posts: 5
Default Manipulating embeded exccel in word (Repost)

Thanks Earl. That is pretty much what I ahve tried - except I have the
cahrs as their own sheet. I will try your suggestion and just place
the charts within a worksheet and hopefully that will fix the quirks.

Thanks again.

Jason.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Letter and Embeded Word Object Aaron Excel Discussion (Misc queries) 2 July 15th 06 01:22 AM
Getting embeded Excel worksheets with macros in Word to work [email protected] Excel Discussion (Misc queries) 3 June 20th 06 01:56 PM
Manipulating embeded exccel in word JD Excel Programming 0 February 9th 05 02:26 PM
Repost: cut/paste excel cells w/ ActiveX checkboxes to Word R. Craw Excel Programming 0 April 1st 04 03:58 PM
hyperlinking to open an embeded word doc? neowok[_26_] Excel Programming 2 February 27th 04 03:42 PM


All times are GMT +1. The time now is 11:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"