Jump to content

I would be questioning why you're being asked to use powerpoint VBA to start with.... anyway the best place to start is the documentation or maybe youtube tutorials if you can find any,

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to post
Share on other sites

1 minute ago, vorticalbox said:

I would be questioning why you're being asked to use powerpoint VBA to start with.... anyway the best place to start is the documentation or maybe youtube tutorials if you can find any,

my project is to create something to calculate area of triangle but i'm lost, i don't know where to start at all

Link to post
Share on other sites

1 hour ago, HJ1009 said:

my project is to create something to calculate area of triangle but i'm lost, i don't know where to start at all

Area of a triangle is:

 

(<length of base of triangle> X <Height of triangle>) / 2 

 

 

Now you just need to create a system that takes 2 inputs, performs a simple calculation and outputs the result. 

 

Link to post
Share on other sites

1 minute ago, FlappyBoobs said:

Area of a triangle is:

 

(<length of base of triangle> X <Height of triangle>) / 2 

 

 

Now you just need to create a system that takes 2 inputs, performs a simple calculation and outputs the result.  

 

i know the formula area of triangle but i'm completely new to vba so i don't know what the crap i'm doing i enabled the developer ribbon i draw a simple text box and that's it, i don't know what to do next

Link to post
Share on other sites

49 minutes ago, HJ1009 said:

i know the formula area of triangle but i'm completely new to vba so i don't know what the crap i'm doing i enabled the developer ribbon i draw a simple text box and that's it, i don't know what to do next

You have a button that open another screen where you can code in it. From there you will be able to access the controls you have on the screen.

 

as for coding VBA structure is a mix of Visual Basic 3, 5 and 6 depending on the version of office.  For calculating area of triangles the code will be the exact same no matter the version it is running as so don't worry.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×