none
VBA HyperLink to other power point file RRS feed

  • Question

  • Hello,
    I would like to hyperlink to specific slide in other power point file,

    I want this action to happen without user involvement (No clicking or mouse over)
    Does anyone know how how to do it?

    Thanks, 
    Tamir

    Thursday, October 4, 2012 9:13 AM

Answers

All replies

  • Hi Tamir,

    Thank you for posting in the MSDN Forum.

    Do you mean that when the presentation played to a specific slide which contains a hyperlink, the slide which has been linked to the current slide should be displayed next?

    I look forward to your reply.

    Best regards,
    Quist


    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us


    Friday, October 5, 2012 5:15 AM
    Moderator
  • Hi Quist,

    Thanks for your answer.

    I would like to automaticly move to other slide that located at other file.

    I want this action to happen exactly 2 secounds after the current slide was played.

    I have figured out how to run this Sub on slide show, and also figured out how to put 2 secounds delay,

    But couldn't understand yet how code to the "Move to other slide in other file yet"

    Here is the idea of the code i have : *Let's say my current slide number is 3

    Sub OnSlideShowPageChange(ByVal SSW As SlideShowWindow)
        If SSW.View.CurrentShowPosition = 3 Then
            Call DelayAndAdvance
        End If
    End Sub

    Sub DelayAndAdvance()
        Pause (2)
        ' Move to slide X in File.pptx - The lines where i have the gap
    End Sub

    I hope that I more clear now,

    Thanks a lot!

    Tamir

    Friday, October 5, 2012 7:37 AM
  • Hi Tamir,

    Thank you for your last reply.

    I've create a sample for you. You can download it from https://skydrive.live.com/redir?resid=EDF9C5F7CB70A004!113&authkey=!AMfdHyssaoEAtXs

    If it is exactly what you want, you can mark this thread as answer.

    Hope it helps.

    Best regards,


    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us


    Friday, October 12, 2012 4:40 PM
    Moderator
  • Hi Quist, 

    Wow!! Thanks for the awesome job! I am amazed!!!

    I would like to ask you another question.

    How can i run this without clicking the Play button at the Visual Basic Editor, 

    I have tried to add this code, but it doesn't work

    Sub OnSlideShowPageChange(ByVal SSW As SlideShowWindow)
        If SSW.View.CurrentShowPosition = 1 Then
            Call Play
        End If
    End Sub

    Thanks for dedication and help!!

    Tamir

    Friday, October 12, 2012 6:08 PM
  • Hi Tamir,

    I'll mark the answer and reply to your question on the other thread of you.

    Best regards,


    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, October 17, 2012 8:16 AM
    Moderator