VBA, if statement, conditionals help

stevejr7

New Member
Joined
Feb 22, 2017
Messages
1
Hello im fairly new to VBA(like starting from scratch) so i was wondering if i could have help with the following (it's rather lengthy so bear with me please, ill try to sort it a bit)
To start off i have a fixed condition: "What is the value of proposal investment account?"
then it branches off into 3 categories: "More than than 100k", "Between 50k and 100k", and "Less than $50k"
the first category, if the value is over 100k, would display a pop up message "paperwork will be created and processed"


the second category (this will be lengthy), if the value is between 50k-100k, will lead to another question "will the account grow to 100k+ within 6 months with extra conditions?"
from here it will give two options, yes or no;
if yes then a pop up will appear "paperwork will be created and processed",
if no another question will appear asking if the client has insurance
this prompts another yes or no drop down box,
if yes, another question appears "how much is the annual insurance premium?",
which gives two options; "more than 5k per year" and "less than 5k per year"
if more than 5k, then a pop up "paperwork will be created and processed"
if less than "Lead advisor will create and process"
if the client doesn't have insurance, a question appears asking if the client is purchasing insurance (in process), prompting another yes or no,
if no "lead advisor will create and process",
if yes another question pops up asking the value of the proposed annual insurance premium,
if more than 5k, "paperwork will be created and processed",
if less than 5k, "lead advisor will create and process"


the third category (if less than 50k) will prompt a question "does the client have insurance",
if yes, a question appears "how much is the annual insurance premium", if over 10k a year, "paperwork will be created and processed", if less, "lead advisor will create and process"
if no, "is the client purchasing insurance (already in process)?",
if no, "lead advisor will create and process",
if yes "how much is the annual insurance premium", if over 10k a year, "paperwork will be created and processed", if less, "lead advisor will create and process"


the questions only appearing from the prompt would be ideal, but not required (i.e. "will the account grow to 100k within 6 months with extra conditions" wouldn't pop up unless "between 50k-100k" is selected)
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,215,059
Messages
6,122,917
Members
449,093
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top