Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / July 2007

Tip: Looking for answers? Try searching our database.

How do I use Arithmetic operation in PowerPoint 2007?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mastersde8888@gmail.com - 18 Jul 2007 04:06 GMT
Hi,

I am developing a game using MS Powerpoint 2007. In this game user is
supposed to click hyperlink on the powerpoint. I have to add 1 to my
counter when user is clicking such hyperlink so that I will know how
many times the user actually clicked such hyperlink. Please let me
know how I can add 1 to my counter and get the final result of the
counter.

Thanks

Sri
Bill Dilworth - 18 Jul 2007 09:18 GMT
The easiest way may be to use an action setting to fire a macro that
increments your counter then hyperlinks to a location stored in the object's
tags.

How are your VBA coding skills?

Signature

Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@     Please read the PowerPoint FAQ pages.
yahoo.             They answer most of our questions.
com                 www.pptfaq.com
.

> Hi,
>
[quoted text clipped - 8 lines]
>
> Sri
John Wilson - 18 Jul 2007 16:36 GMT
As Bill says it can only be done with vba (AFAIK!). This code should work to
eg link to slide 2 (change as required)

Dim counter As Integer
Sub countme(oshp As Shape)
ActivePresentation.SlideShowWindow.View.GotoSlide (2)
counter = counter + 1
If oshp.HasTextFrame Then
oshp.TextFrame.TextRange = counter
End If
End Sub
Signature

Amazing PPT Hints, Tips and Tutorials-
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk/ppttipshome.html
email john AT technologytrish.co.uk

> Hi,
>
[quoted text clipped - 8 lines]
>
> Sri
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.