|
||
---|---|---|
PowerPoint tips, hints and tutorials that will change your presentations for ever! | ||
Jigsaws |
A Search Box (vba) This shows you how to make a simple search box which will jump you to the first slide that includes the entered text. You will need to insert a TextBox from the Control Toolbar. If you don't know how to do this see here. Now Right click on the new toolbox and choose VIEW CODE: You should see two lines of code that look like this: Private Sub TextBox1_Change() Ignore this code and instead use the Drop Arrow on the right to choose "Key Down"
You should now see code similar to this: Private Sub TextBox1_KeyDown(ByVal
KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer) Between these two lines paste this code: Dim osld As Slide Now run the show and type the text to find in the box followed bty ENTER. If all is well it will jump to the correct slide. If you have 2007 on save as a .pptm file. |
|
Articles on your favourite sport Free Microsoft PowerPoint Advice, help and tutorials, Template Links |