Linked excel workbooks to powerpoint, linking cells

Frockk

New Member
Joined
Feb 4, 2016
Messages
7
Hello,

The situation: I have power point file which has 2 slides, if I understand correctly each slide is linked with seperate excel WORKBOOKS.
When you select lets say first slide and tap 2 times on content excel workbook appears, then You can enter required data and formulas workout additional info. Second slide is made the same, just it shows different information.

The problem is that that "REQUIRED DATA" to be entered is the same in both slides (it is only 1 cell, data is whole number).
Because power point do not link slides together two seperated workbooks is linked to them.

The requirement is really simple, I need lets say the information what is entered in slide one A11 cell to appear also in second slide B12 cell.

I believe the only way to do so is VBA.

If you find it intresting but not understandable :):) I will try to explain it more detailed.
I believe this might be very useful tool to all community.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hello


  • For this example to work, you need to run the initialise routine first.
  • Note where to paste the two pieces of code.

Code:
' standard PowerPoint module
Public objNewSlide As New Class2


Sub Initialise()
Set objNewSlide.PPTEvent = Application
End Sub


Sub Release()
Set objNewSlide.PPTEvent = Nothing
End Sub


'***********************************************

'PowerPoint class module named Class2


Public WithEvents PPTEvent As Application


Private Sub PPTEvent_SlideShowNextSlide(ByVal Wn As SlideShowWindow)
If Wn.View.CurrentShowPosition = 3 Then                                         ' third slide
    ActivePresentation.Slides(3).Shapes(1).OLEFormat.Object.sheets(1).[L13] = _
    ActivePresentation.Slides(2).Shapes(1).OLEFormat.Object.sheets(1).[L15]
    DoEvents
End If
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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