Re: Action Settings work on Windows, but not Mac



In article <1160437059.986550.316410@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Master Ninja
wrote:
Steve Rindsberg wrote:
First suggestion, which probably won't be the solution but may help prevent other
bugs: Don't add apples and automobiles:

.Text + nAddAmount

isn't a good idea.

.Text = Cstr(Val(.Text) + nAmount)

or something along those lines might be better. In other words, convert the
string in the text box to the number it "looks like", increment that number, then
convert the result back to string.

I'd also set break points and step through the code to see exactly how far it gets
the first time you click on the link and invoke the macro.

Thank you for your suggestion, Steve. I changed the code to the line
you provided, and while it didn't do anything to resolve my problem, I
appreciate having the "correct" code.

I did try setting break points, but break points do not get triggered
in slideshow mode, but just in edit mode where I am not having a
problem.

That's odd ... they work here in either mode. Do you have the VBA editor open when
you start the show?

In any case, I'd try David's suggestions first and if no help there, let's come back
to this one.

I did insert popup message boxes to aid in debugging, and
they show that all of my code is being executed without error, just
that the screen is not being properly updated after a change is made.


-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================


.



Relevant Pages

  • Re: Replace text not working
    ... "Steve Rindsberg" wrote: ... reference to the SlideMaster, TitleMaster etc., FindString is the string to ... When FindString is "Commercial" the replacement works fine. ... Steve Rindsberg, PPT MVP ...
    (microsoft.public.powerpoint)
  • Re: Invalid Product Code??????
    ... If I can't get it to understand what I type the first time, ... Kathryn Jacobs, Microsoft PPT MVP ... "Steve Rindsberg" wrote in message ... that it'd get halfway through the installation then quit 'cause I'd ...
    (microsoft.public.powerpoint)
  • Re: Need to hyperlink from word to a .PPS so that it will autostar
    ... > ByVal lpOperation As String, ByVal lpFile As String, _ ... >> MervB ... >>> Steve Rindsberg, PPT MVP ...
    (microsoft.public.powerpoint)
  • Re: positioning input box
    ... It acted as if the string I used for the ... >> Sub GetInput() ... >> Steve Rindsberg, PPT MVP ...
    (microsoft.public.powerpoint)
  • Re: How to counting words in a string variable?
    ... in a variable declared as String. ... .Text = YourString ... Steve Rindsberg, PPT MVP ...
    (microsoft.public.powerpoint)