Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-21-2015, 10:32 AM
statue.919 statue.919 is offline VBA to next slide Windows 7 64bit VBA to next slide Office 2013
Novice
VBA to next slide
 
Join Date: Feb 2014
Posts: 5
statue.919 is on a distinguished road
Default VBA to next slide

Hi,
From the attached file could you guys please tell me how to write a VBA code to take me to a specific slide.
For example in this slide there will be a command button written 1. When some one clicks it it must take me to slide number 2.
Could you please help me with this.
Thanks in advance.
Attached Files
File Type: pptm Presentation1.pptm (39.2 KB, 9 views)
Reply With Quote
  #2  
Old 04-21-2015, 12:28 PM
JohnWilson JohnWilson is offline VBA to next slide Windows 7 64bit VBA to next slide Office 2010 32bit
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,912
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

the basic code is

Code:
ActivePresentation.SlideShowWindow.View.GotoSlide (x)
TRhere's no need to use a command button in PPt. Any shape can be used. (use Insert > Action > Run Macro)
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #3  
Old 04-21-2015, 06:48 PM
statue.919 statue.919 is offline VBA to next slide Windows 7 64bit VBA to next slide Office 2013
Novice
VBA to next slide
 
Join Date: Feb 2014
Posts: 5
statue.919 is on a distinguished road
Default

Thanks for your help.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slide Master indent settings for bullets not correct when applied to regular slide jleet24 PowerPoint 1 04-07-2015 12:16 PM
How to make specific slide be unlike the master slide Konnie PowerPoint 4 11-03-2014 05:16 AM
VBA to next slide Lyric slide show - using a variable to pull text from next slide elfman12 PowerPoint 3 03-08-2013 12:27 AM
VBA to next slide Create PPT slide presentation with Excel data. Chart is displayed off the slide. eratem PowerPoint 4 02-29-2012 09:44 AM
VBA to next slide slide image wont copy with text to new slide lewis.mulhollen PowerPoint 1 12-17-2011 03:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:59 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft