VBA: Selection(Branching)

March 2, 2009 at 06:49:03
Specs: Windows XP
I need a program to ask for a persons weight, age, maths and english grades. If the weight is over 88KG display the message too heavy, if the age is between 15 to 25 then display message age in range and if it is out of the age range display age out of range. And if both results of maths and english is 80+ then display message both grade A and if they are both below 40 then display both Fail. Pleasee Help, i think it needs to be If statement.

See More: VBA: Selection(Branching)

Report •

March 2, 2009 at 12:05:00
You could use If Then but Select Case might be more appropriate. A lot easier to code and less chance of getting yourself in a mess when there are multiple choices to be made.

I don't mind helping some if they are stuck but at least show that you have made an effort and not expect someone to do the whole task for you, especially if it is a homework question.



Report •
Related Solutions

Ask Question