Word VBA: automate update of a table into msgraph datasheet

tonymagnetic

New Member
Joined
Oct 20, 2004
Messages
17
Hi & Thanks for having a look.

I'm hoping that this is an easy one, cause its been driving me nuts all day!

I have a series of forms and fields that interact to feed 6 output variables into a table in word. The cells collectively have the bookmark "GTable".

Later in the document I have an embedded MS graph that needs to be updated based on changes in the above table. The graph object has the bookmark "GGraph".

I am trying to build a vba macro that will copy the data in the table, open the graph object's datasheet, and paste the table date in cell ("A1").

Been fooling around with the macro recorder and some assorted pieces of code I have come across, but it seems that I cannot successfully paste the info into the datasheet on a regular basis. Any ideas?

Thanks again,

TonyM
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,224,852
Messages
6,181,397
Members
453,034
Latest member
mikdadhussain

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top