Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2019, 05:45 AM
getsbi getsbi is offline Slide cards and VBA code Windows 10 Slide cards and VBA code Office 2013
Novice
Slide cards and VBA code
 
Join Date: Jun 2019
Posts: 3
getsbi is on a distinguished road
Default Slide cards and VBA code

How to make a Power Point through the VBA code that the cards on the slide, on the On Click event, change the state of Bring to Front in Send to Back and vice versa.
Attached Files
File Type: pptx Cards on slide.pptx (32.4 KB, 8 views)
Reply With Quote
  #2  
Old 06-09-2019, 11:33 AM
JohnWilson JohnWilson is offline Slide cards and VBA code Windows 10 Slide cards and VBA code Office 2016
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,912
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

The click cannto really do both move to front and/or move to back. here's how to move the clicked tab (in show mode) to the front
Attached Files
File Type: pptm Cards on slide.pptm (35.7 KB, 12 views)
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #3  
Old 06-09-2019, 11:46 AM
getsbi getsbi is offline Slide cards and VBA code Windows 10 Slide cards and VBA code Office 2013
Novice
Slide cards and VBA code
 
Join Date: Jun 2019
Posts: 3
getsbi is on a distinguished road
Default

Thanks. It works great. Explain how this is accomplished. And why is the extension .pptm?
Reply With Quote
  #4  
Old 06-09-2019, 12:06 PM
JohnWilson JohnWilson is offline Slide cards and VBA code Windows 10 Slide cards and VBA code Office 2016
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,912
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

In the file structure used sinc 2007 pptx and ppsx files cannot have code only pptm and ppsm can contain code

There is only one line of code so it shouldn't be too hard to figure out how it works
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #5  
Old 06-09-2019, 12:13 PM
getsbi getsbi is offline Slide cards and VBA code Windows 10 Slide cards and VBA code Office 2013
Novice
Slide cards and VBA code
 
Join Date: Jun 2019
Posts: 3
getsbi is on a distinguished road
Default

Now I understand. Thank you very much.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slide cards and VBA code find with wild cards and add into CC sylvio Word VBA 2 09-04-2017 01:00 AM
Slide cards and VBA code Can no longer read SD cards grjbyfleet Windows 1 09-27-2016 05:43 PM
Auto_Open and Code tied to a slide mollovg PowerPoint 0 09-13-2011 09:22 AM
Printing on 3x5 cards Jennifer Murphy Word 0 08-05-2011 06:00 PM
Bingo Cards office_mike Excel 1 11-29-2008 10:17 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:04 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