Jump to content
Science Forums

Recommended Posts

Posted

i just need to know how can i do this..

 

i set up a hyperlink in powerpoint, so during a slide show in ppt2002,when i click that hyperlink, a text box appeares.

i type in keywords and it searches for the keywords and displays the result in a slide

 

1)i should be able to select the slide in which the result will be displayed

 

2)PLEASE TELL ME HOW TO DO IT STEP BY STEP ALSO.....please

it's a bit urgent..

TBA

Posted
...i set up a hyperlink in powerpoint, so during a slide show in ppt2002,when i click that hyperlink, a text box appears.

i type in keywords and it searches for the keywords and displays the result in a slide i should be able to select the slide in which the result will be displayed ...

Are the 14 hours up yet? Can I come back later?

 

:) Okay, I'm a PP semi-wizard, and I may (?) be able to help, but first I have to understand what you want. My best guess (actually "grope" may be a more accurate word here) is that you want this:

 

You have a page in a PP doct (a specific 1 of many); on this (1) page there is what you call a "link" but it could just as easily be a button.

 

When you click the "link", it presents a dialog box with a text field and an OK button.

 

You enter a keyword or two in the field and click on OK.

 

A new dialog box appears with the names of every page in the PP document in which your keyword(S) appear; and an OK button and a CANCEL button.

 

If you select one of the page names and click OK, then you are taken to that page within the selfsame PP document.

 

If you click CANCEL, the dialog box disappears and nothing has change.

 

-----------So, is THIS what I am to understand you want? Because the word "link" usually refers to an URL out on the Internet, and I don't seem to think that is what you want.

 

Waiting with baited breath (i.e., a worm on my tongue)

Pyro the Power Pointer+

Posted

B) As luck would have it, my boss dropped a rush assignment on me yesterday, and it's due today.

 

But I did spend 10 minutes investigating this problem. The news is not good. There are no "widgets" you can put into a PP document to do any of what you want. However, PP does contain a version of Visual Basic for Applications, or VBA. ("Macros") This is similar to the VBA in Excel, at which I am an expert. Unfortunately, VBA/X does NOT translate directly into VBA/PP or vice versa. B)

 

You could try to wing it on your own, by pulling down the Tools Macro and selecting Macros.

 

I know in VBA/X, the code would do something like this:

 

Sub IndexToPages ' Macro name

' Appoint some keyboard shortcut, such as Shift-Ctrl-X, to execute it.

Dir keyword as String

Dir dialogAnswer as String

Dir dialogText as String

Dir PageList[] as Pages

Dir PageLst2[] as Pages

Dir pg as Page

Dir Ndx as Integer

 

PageList = "My First Page", "The Number Two Page", "Last Page"

 

dialogAnswer = MsgTextBox("Enter keywords", dialogText, vbOKCancel)

If dialogAnswer = vbCancel Then

Exit

End If

' keyword is now in variable dialogText

Ndx = 1

For Each pg in PageList

If Find(dialogText, pg) Then

PageLst2[Ndx] = pg

Ndx = Ndx + 1

End If

Next

' All pages containing keyword are now in PageLst2

If Ndx = 1 Then

MsgBox("Your keyword was not found on any pages", vbOK)

Exit

End If

dialogAnswer = MsgSelectBox("Select Page to Jump to:", PageLst2, dialogText, vbOKCancel)

If dialogAnswer = vbCancel Then

Exit

End If

' The selected page name is in dialogText

Range(dialogText).Select

End Sub

 

---------The above is NOT VALID PP VBA CODE! It's what the macro would look like if I did it in Excel VBA and if Excel VBA had new functions oriented more to PP. But the algorithm should work. I'm afraid that's all I can do.

 

B) Sorry.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...