Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2014, 04:07 AM
ccordner ccordner is offline animating buttons Windows XP animating buttons Office 2000
Novice
animating buttons
 
Join Date: Jul 2011
Posts: 10
ccordner is on a distinguished road
Default animating buttons

I have a series of text boxes. When clicked on, I would like each one to grow to fill the slide and then shrink when clicked on again. Is this possible? Perhaps using VBA?

Thanks
Chris
Reply With Quote
  #2  
Old 09-02-2014, 09:15 AM
JohnWilson JohnWilson is offline animating buttons Windows 7 64bit animating buttons 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

2000 doesn't support trigger animations so your only option is vba.

Do you have any coding skills?

I don't have 2000 so I am not sure it supports this code but you could try this macro

Code:
Sub swell(oshp As Shape)
If oshp.Width < ActivePresentation.PageSetup.SlideWidth Then
SaveSetting "SIZE", "SETTING", "LEFT", CStr(oshp.Left)
SaveSetting "SIZE", "SETTING", "TOP", CStr(oshp.Top)
SaveSetting "SIZE", "SETTING", "WIDTH", CStr(oshp.Width)
SaveSetting "SIZE", "SETTING", "HEIGHT", CStr(oshp.Height)
oshp.Width = ActivePresentation.PageSetup.SlideWidth
oshp.Height = ActivePresentation.PageSetup.SlideHeight
oshp.Left = 0
oshp.Top = 0
oshp.TextFrame.TextRange.Font.Size = 4 * oshp.TextFrame.TextRange.Font.Size
Else
oshp.Width = GetSetting("SIZE", "SETTING", "WIDTH", "100")
oshp.Height = GetSetting("SIZE", "SETTING", "HEIGHT", "100")
oshp.Left = GetSetting("SIZE", "SETTING", "LEFT", "0")
oshp.Top = GetSetting("SIZE", "SETTING", "TOP", "0")
oshp.TextFrame.TextRange.Font.Size = oshp.TextFrame.TextRange.Font.Size / 4
End If
End Sub
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #3  
Old 09-02-2014, 01:28 PM
ccordner ccordner is offline animating buttons Windows XP animating buttons Office 2000
Novice
animating buttons
 
Join Date: Jul 2011
Posts: 10
ccordner is on a distinguished road
Default

Thanks

I do have a fair amount of experience coding in VBA, but primarily for Excel, so I will have a play with that.

I'm using Powerpoint 2007.

Thanks
Chris
Reply With Quote
  #4  
Old 09-02-2014, 03:07 PM
JohnWilson JohnWilson is offline animating buttons Windows 7 64bit animating buttons 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

It says 2000 in the post header! Should work in 2007.
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #5  
Old 09-02-2014, 03:08 PM
ccordner ccordner is offline animating buttons Windows XP animating buttons Office 2000
Novice
animating buttons
 
Join Date: Jul 2011
Posts: 10
ccordner is on a distinguished road
Default

So it does! I hadn't noticed that...

I must have signed up for these forums before I got this version. Sorry.
Reply With Quote
  #6  
Old 09-02-2014, 03:31 PM
JohnWilson JohnWilson is offline animating buttons Windows 7 64bit animating buttons 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

There might be a non code answer in 2007. I'll think about it in the morning.
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #7  
Old 09-14-2014, 12:26 AM
joannhickerson joannhickerson is offline animating buttons Windows XP animating buttons Office XP
Novice
 
Join Date: Jul 2014
Posts: 1
joannhickerson is on a distinguished road
Default

vba will work in your case, but i dont think you can do this without code.
best casinos in australia


Last edited by joannhickerson; 09-14-2014 at 09:54 PM.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Animating objects on one slide independent of others Fed PowerPoint 1 08-16-2013 08:42 AM
Animating SmartArt Cosmo PowerPoint 0 07-13-2012 07:15 AM
Command Buttons lorenambrose Word 0 10-06-2011 11:55 AM
Help! I can't get the buttons to work! Alicia PowerPoint 0 02-19-2011 01:48 PM
Custom animating a line chart by series and category. Gahzi PowerPoint 0 05-19-2009 11:53 AM

Other Forums: Access Forums

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