| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
VBA Code?
|
Original Message
|
Name: zxkyenterprises
Date: November 24, 2005 at 15:55:26 Pacific
Subject: VBA Code?OS: Windows XP Home w/sp2CPU/Ram: Celeron D 2.80ghz/512mb |
Comment: Hello... i have currently undertaken a project for my school (i'm a student) i have just been learning vba online.. but i am creating a PowerPoint interlaced with VBA (macros) i need to "add" numbers as in "Please enter number" then like 1 and the total is what was there plus one as in (display 5) (user 1) = newdisplay 6... myn wont work... dont know what to do.. this is what i have done... ----- Public userName, userPoints, userTotal Sub askSkoolpoints() userPoints = InputBox(prompt:="Total", _ Title:="Points") ActivePresentation.Slides(2).Shapes(3).TextFrame.TextRange.Text = userPoints + (ActivePresentation.Slides(2).Shapes(3).TextFrame.TextRange.Text) End Sub thank you very much
I would take over the world, but they wont give me the source code... Anon
Report Offensive Message For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Programming Forum Home