Opening excel from power point slide with open_workbook event

swapnilushinde

New Member
Joined
Jun 16, 2011
Messages
2
Hello

I am newbie to excel VBA programming. I have charts in power-point which are linked to excel sheets. by right clicking on chart and then 'Edit data' I could open associated workbook. but it is not landing to appropriate sheet in that workbook.(It just opens the workbook !)

I need to make changes such that 'Edit data' option opens the workbook and bring proper sheet. I am planning to do it in this way -

Writting a macro in excel with open_workbook event. When this macro triggers whether workbook has been opened through PPT. If so it will move to proper sheet and opens it. Rest of part is easy. but how to trigger macro in excel and find whether it has been triggerd by click on 'Edit data' is confusing.

It would be so kind if you explain me how to do it or any other way to do the same..
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,224,607
Messages
6,179,871
Members
452,949
Latest member
Dupuhini

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