Prev: Inserted Pictures keep disappearing replaced w/ white box with a r
Next: does anyone know how to make powerpoint countdown
From: Bill Foley on 24 Mar 2010 22:28 Hey Gang, I gave up trying to figure out why PPT 2007 works this way and just came up with a workaround. For some reason it likes to show one text box but not the other. So what I did was put a rectangle over the "non-showing" text box, gave it a VBA name, and ran code to set its visible property to FALSE when I click the button. That worked! BRING ON PPT 2010! Bill Foley "Bill Foley" <billfoley(a)aircanopy.net> wrote in message news:eB87FfvyKHA.4492(a)TK2MSFTNGP05.phx.gbl... > Hey gang, > > Guess who's back! I finally broke down and bought Office 2007 (not sure > why though)! One of my games is not working correctly and I have no idea > why. I have very simple code that hides text boxes, then shows them when > needed using VBA. One of the objects shows up but the other one doesn't. > Yes, I verified the names of the shapes. I've used this in PPT 2003 for > years with no problems. If I go out of Slide Show mode, the text boxes > the didn't show up are visible. > > Is this some sort of known bug with PPT 2007? Any ideas? They are simple > text boxes. Nothing more. Both created the exact same way in PPT 2003. > > HELP! > > Bill Foley >
From: Chirag on 25 Mar 2010 06:26 "Karl E. Peterson" <karl(a)exmvps.org> wrote in message news:egHNXz5yKHA.404(a)TK2MSFTNGP02.phx.gbl... > Steve Rindsberg wrote: >> ' bump it off the slide >> .Top = ActivePresentation.PageSetup.SlideHeight + 100 > > Might be a problem on multimonitor setups? Nope. PowerPoint slide show window shows till the slide boundaries only. Anything beyond those are "clipped". - Chirag PowerShow - View multiple PowerPoint slide shows simultaneously http://officeone.mvps.org/powershow/powershow.html
From: Steve Rindsberg on 25 Mar 2010 11:08 In article <egHNXz5yKHA.404(a)TK2MSFTNGP02.phx.gbl>, Karl E. Peterson wrote: > Steve Rindsberg wrote: > > ' bump it off the slide > > .Top = ActivePresentation.PageSetup.SlideHeight + 100 > > Might be a problem on multimonitor setups? Say "Thanks, Chirag". <g> ============================== PPT Frequently Asked Questions http://www.pptfaq.com/ PPTools add-ins for PowerPoint http://www.pptools.com/
From: Steve Rindsberg on 25 Mar 2010 11:08 In article <ei0Ucl5yKHA.2644(a)TK2MSFTNGP04.phx.gbl>, Bill Foley wrote: > Well, Steve's refresh method did nothing. So, for something as simple as > the code below, what would I have to do to make the Q1-1 object appear? The GoToSlide refresh or t'other one? See my reply to David's response to my answer to you.... oohhh my head's spinning and I think I'm gonna .... 'scuse me, gottarun! > > Sub Correct1_1() > ActivePresentation.Slides(3).Shapes("Q1-1").Visible = True > ActivePresentation.Slides(3).Shapes("P1-1").Visible = True > End Sub > > Funny thing, the P1-1 object shows up fine (matter of fact I have 5 of these > and they all show up). However, the Q1-1 through Q1-5 do not! > > What would I have to do to make this work in PPT 2007? Man, why did this > happen in the first place? But, more importantly HOW??? > > Any clues would be appreciated. I would even be happy to send the game file > to you (off-line). > > TIA! > > Bill Foley > > "David Marcovitz" <marco(a)nospamloyola.edu> wrote in message > news:umJnVL1yKHA.5040(a)TK2MSFTNGP02.phx.gbl... > > On 3/23/10 10:42 PM, Steve Rindsberg wrote: > >> In article<eB87FfvyKHA.4492(a)TK2MSFTNGP05.phx.gbl>, Bill Foley wrote: > >>> Hey gang, > >>> > >>> Guess who's back! > >> > >> Waaal HOWDY Tex! > >> > >>> I finally broke down and bought Office 2007 (not sure why > >>> though)! One of my games is not working correctly and I have no idea > >>> why. > >>> I have very simple code that hides text boxes, then shows them when > >>> needed > >>> using VBA. One of the objects shows up but the other one doesn't. Yes, > >>> I > >>> verified the names of the shapes. I've used this in PPT 2003 for years > >>> with > >>> no problems. If I go out of Slide Show mode, the text boxes the didn't > >>> show > >>> up are visible. > >>> > >>> Is this some sort of known bug with PPT 2007? Any ideas? They are > >>> simple > >>> text boxes. Nothing more. Both created the exact same way in PPT 2003. > >> > >> Several folks have reported similar problems, where making something > >> invisible/visible in code doesn't change what the user sees on screen in > >> slide > >> show view. > >> > >> It might be enough to do a View.GoToSlide(CurrentSlideIndex) to force a > >> refresh. If not ... um ... 2010's not far off. > >> > >> > >> ============================== > >> PPT Frequently Asked Questions > >> http://www.pptfaq.com/ > >> > >> PPTools add-ins for PowerPoint > >> http://www.pptools.com/ > >> > >> > > > > What Steve said and ... > > > > I started noticing this when I was teaching my class that uses VBA last > > summer (I had people using 2003, 2004, and 2007 in the class). I found > > that the best solution was to have the shape move off the viewable area of > > the screen (e.g., set .Top to 5000). The problem is that you then have to > > keep track of the original .Top so you can move it back to make it > > visible. For my non-programming students, it was another annoying layer of > > complexity. > > > > By the way, welcome back! > > > > --David > > -- > > David M. Marcovitz > > Author of _Powerful PowerPoint for Educators_ > > http://www.PowerfulPowerPoint.com/ > > Microsoft PowerPoint MVP > > Associate Professor, Loyola University Maryland ============================== PPT Frequently Asked Questions http://www.pptfaq.com/ PPTools add-ins for PowerPoint http://www.pptools.com/
From: David Marcovitz on 25 Mar 2010 16:25 I think the problem with Steve's code is that it is made to work if the shape starts visible and needs to be made invisible. You are trying to do the opposite so I don't think his code will help. You could start with the shapes visible, then before going to the slide, make them invisible (with Steve's or similar code). From that point on it should work. --David On 3/24/10 5:31 PM, Bill Foley wrote: > Well, Steve's refresh method did nothing. So, for something as simple as > the code below, what would I have to do to make the Q1-1 object appear? > > Sub Correct1_1() > ActivePresentation.Slides(3).Shapes("Q1-1").Visible = True > ActivePresentation.Slides(3).Shapes("P1-1").Visible = True > End Sub > > Funny thing, the P1-1 object shows up fine (matter of fact I have 5 of these > and they all show up). However, the Q1-1 through Q1-5 do not! > > What would I have to do to make this work in PPT 2007? Man, why did this > happen in the first place? But, more importantly HOW??? > > Any clues would be appreciated. I would even be happy to send the game file > to you (off-line). > > TIA! > > Bill Foley > > > "David Marcovitz"<marco(a)nospamloyola.edu> wrote in message > news:umJnVL1yKHA.5040(a)TK2MSFTNGP02.phx.gbl... >> On 3/23/10 10:42 PM, Steve Rindsberg wrote: >>> In article<eB87FfvyKHA.4492(a)TK2MSFTNGP05.phx.gbl>, Bill Foley wrote: >>>> Hey gang, >>>> >>>> Guess who's back! >>> >>> Waaal HOWDY Tex! >>> >>>> I finally broke down and bought Office 2007 (not sure why >>>> though)! One of my games is not working correctly and I have no idea >>>> why. >>>> I have very simple code that hides text boxes, then shows them when >>>> needed >>>> using VBA. One of the objects shows up but the other one doesn't. Yes, >>>> I >>>> verified the names of the shapes. I've used this in PPT 2003 for years >>>> with >>>> no problems. If I go out of Slide Show mode, the text boxes the didn't >>>> show >>>> up are visible. >>>> >>>> Is this some sort of known bug with PPT 2007? Any ideas? They are >>>> simple >>>> text boxes. Nothing more. Both created the exact same way in PPT 2003. >>> >>> Several folks have reported similar problems, where making something >>> invisible/visible in code doesn't change what the user sees on screen in >>> slide >>> show view. >>> >>> It might be enough to do a View.GoToSlide(CurrentSlideIndex) to force a >>> refresh. If not ... um ... 2010's not far off. >>> >>> >>> ============================== >>> PPT Frequently Asked Questions >>> http://www.pptfaq.com/ >>> >>> PPTools add-ins for PowerPoint >>> http://www.pptools.com/ >>> >>> >> >> What Steve said and ... >> >> I started noticing this when I was teaching my class that uses VBA last >> summer (I had people using 2003, 2004, and 2007 in the class). I found >> that the best solution was to have the shape move off the viewable area of >> the screen (e.g., set .Top to 5000). The problem is that you then have to >> keep track of the original .Top so you can move it back to make it >> visible. For my non-programming students, it was another annoying layer of >> complexity. >> >> By the way, welcome back! >> >> --David >> -- >> David M. Marcovitz >> Author of _Powerful PowerPoint for Educators_ >> http://www.PowerfulPowerPoint.com/ >> Microsoft PowerPoint MVP >> Associate Professor, Loyola University Maryland > > -- David M. Marcovitz Author of _Powerful PowerPoint for Educators_ http://www.PowerfulPowerPoint.com/ Microsoft PowerPoint MVP Associate Professor, Loyola University Maryland
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 Prev: Inserted Pictures keep disappearing replaced w/ white box with a r Next: does anyone know how to make powerpoint countdown |