Re: Action Settings work on Windows, but not Mac
- From: Steve Rindsberg <abuse@xxxxxxxxxxxxx>
- Date: Tue, 10 Oct 2006 10:38:33 EDT
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
================================================
.
- Follow-Ups:
- Re: Action Settings work on Windows, but not Mac
- From: Master Ninja
- Re: Action Settings work on Windows, but not Mac
- References:
- Action Settings work on Windows, but not Mac
- From: Master Ninja
- Re: Action Settings work on Windows, but not Mac
- From: Steve Rindsberg
- Re: Action Settings work on Windows, but not Mac
- From: Master Ninja
- Action Settings work on Windows, but not Mac
- Prev by Date: Re: Problem opening powerpoint file
- Next by Date: Re: odd text effect?
- Previous by thread: Re: Action Settings work on Windows, but not Mac
- Next by thread: Re: Action Settings work on Windows, but not Mac
- Index(es):
Relevant Pages
|