Teach Microsoft Office
Online Video Tutorials for Microsoft Office
Request Tutorial
Excel Help and Consulting
Video Player Demo
User Testimonials
Easy to Follow and Great Content
Awesome tutorials. This is great work; thanks a lot for all of these tutorials, and at a great price. The tutorials are easy to follow and understand and are very valuable for me. Teachmsoffice.com has helped me a lot in terms of increasing my Excel skills and learning how to master Excel. Keep up the good work!
- Sarah M.

Thank you so much!
Thank you so much! My professor was giving me a hard time with this...so I told him I will just figure it out on my own and this site really helped me figure everything out!!
- Ms. R

Thank you and godbless
My text book really sucks and I'm very thankful that you have all of these tutorials. I finished my last two questions because of your site! Thank you and godbless.
- Rob V.

Amazing Videos
Just wanted to say that your videos are amazing. I'm watching them and they really help me understand. The way you explain and go through everything is amazing. Thank you soo much!
- Design X

Saved a Ton of Time!
You have just saved me so much time, I cannot thank you enough!
- L. J.

Thank You!
Thank you for sharing these important tips. Your voice is clear and the steps are clear. It is easy to follow. Thank you!
- Kent

Saved Me Time
Thanks for the tutorials, I never had to do this before today and I needed it done very quickly. These videos saved me time I didn't have!
- Mitchel S.

Thank You!
Thank you! Helped me so much!
- M. Clean

Excellent Tutor
I was just listening to the tutorial online and I must say that the tutor is doing an excellent job.
- D. B.

Sign Up to View Tutorials
Purchase Subscription

IF THEN ELSEIF Statement in VBA

This IF statement tutorial for VBA and macros shows you how to create an IF THEN ELSEIF statement in VBA. This will allow you to create an IF statement that will be able to check for multiple conditions and then run different code based on whichever condition evaluates to true. This is similar to, but not completely the same as, putting multiple contiguous IF statements within your macro code. This is a slightly more advanced version of an IF statement in VBA but is covered step by step in this tutorial.
Tutorial Length (mm:ss): 16:03
Sign Up to View Tutorials
Purchase Subscription
Downloadable Files: Yes
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training elseif else if then statement vba macro excel condition create true false visual basic applications
Bookmark and Share
View All Tutorials - 375 Tutorials - 36 hours 28 minutes of Content
Similar Tutorials
Tutorial Length
(mm:ss)
Office Program
IF THEN Statement in VBA and Macros 11:27 Microsoft Office Excel
One Line IF THEN Statement in VBA 8:04 Microsoft Office Excel
IF THEN ELSE Statement in VBA 10:15 Microsoft Office Excel
IF THEN ELSEIF Statement in VBA 16:03 Microsoft Office Excel
IF THEN Statement in VBA - Syntax Only 5:22 Microsoft Office Excel
Use AND Within IF Statement Conditions in VBA 7:48 Microsoft Office Excel
Use OR Within IF Statement Conditions in VBA 7:43 Microsoft Office Excel
Use AND with OR Within IF Statement Conditions in VBA 6:56 Microsoft Office Excel
Complex Conditions within an IF Statement in VBA 9:00 Microsoft Office Excel
IIF Function - Immediate IF Function in VBA 12:12 Microsoft Office Excel
IF THEN ELSEIF ELSE Statement in VBA 10:30 Microsoft Office Excel
Nested IF Statements in VBA 10:52 Microsoft Office Excel


This IF statement tutorial for VBA and macros provides an overview of the syntax for IF statements in VBA. This tutorial covers basic block IF statements as well as IF statements with Else and ElseIf. This tutorial covers only the syntax for an IF statement in VBA.
Tutorial Length (mm:ss): 5:22
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training if then statement else elseif vba macro excel overview syntax quick condition visual basic applications
This IF statement tutorial for VBA and macros will show you how to test for multiple conditions at once within an IF statement in VBA using AND. This method will allow you to prevent an IF statement from running unless multiple conditions evaluate to true. Using AND is a great way to improve the usability and power or logic of your IF statements in VBA.
Tutorial Length (mm:ss): 7:48
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training AND if then statement else vba macro excel condition create AND
This IF statement tutorial for VBA and macros shows you how to use OR in order to test for multiple conditions at once within an IF statement in VBA. This method allows you to put many conditional tests in the condition for an IF statement. Using OR, you will be able to create more powerful and useful IF statements. This is a great VBA feature to learn in order to improve your code.
Tutorial Length (mm:ss): 7:43
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training OR if then statement else vba macro excel or multiple condition basic applications condition
This IF statement tutorial for VBA and macros shows you how to use AND with OR within the conditional test in an IF statement in order to test for multiple conditions at once. Basically, this will allow you to test multiple values at once in order to determine if an IF statement should be run. This tutorial will show you how to add more logic to your logical statements and code in VBA.
Tutorial Length (mm:ss): 6:56
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training AND OR if then statement vba macro excel logic multiple conditions and or
This VBA and macro IF statement tutorial shows you how to use complex conditions within IF statements in VBA. You will learn how to use functions, AND, OR, and values from cells within the conditional test of an IF statement. This tutorial shows you the diversity of values that you can test for using an IF statement and will help you to add better logic to your VBA code.
Tutorial Length (mm:ss): 9:00
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training condition complex if then statement function vba macro excel condition visual basic applications examples
This tutorial shows you how to use the IIF or Immediate IF function in VBA and macros. This is a VBA function that behaves like an IF statement. The benefit of using this function is that it is easy and quick to implement and it will make some decision processes easier to create. However, there are some things to watch out for when using this function, and all of that is also covered in this tutorial.
Tutorial Length (mm:ss): 12:12
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training IIF function vba excel immediate macro if then one line single function logic formula visual basic
This IF statement tutorial for VBA and macros shows you how to create an IF THEN ELSEIF ELSE statement in VBA. This is the most complex and also complete version of an IF statement in VBA. This type of IF statement will allow you to check multiple different conditions with IF and ELSEIF and also to run code if all of the conditions within the IF statement evaluate to false. This tutorial shows you one of the most useful pieces of code in VBA and will allow you to add logic to your code in a versatile manner. The IF THEN ELSEIF ELSE statement in VBA is covered thoroughly in this tutorial.
Tutorial Length (mm:ss): 10:30
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training elseif else if then else statement vba macro excel condition visual basic applications
This IF statement tutorial for VBA and macros shows you how to nest multiple IF statements within each other. There are many simple and complex examples of nesting IF statements in this tutorial. This includes nesting small block IF statements to nesting IF ELSEIF and IF ELSEIF ELSE statements in VBA. This tutorial covers everything you need to know about nesting IF statements in VBA and macros.
Tutorial Length (mm:ss): 10:52
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training nested if statement multiple nest vba excel inside macro visual basic logic code condition
 
Official PayPal Seal SSL
Join TeachMsOffice.com on Facebook
Follow TeachMsOffice.com on Twitter


Microsoft Office Tutorials | Office Tutorials - Excel Word PowerPoint | HD Tutorial Video Player Overview | About TeachMsOffice.com

TeachMsOffice.com provides HD Online Video Tutorials and Training for Microsoft Office programs such as Excel, Word, and PowerPoint. We use a specialized video player interface to teach a vast list of Microsoft Office Tutorials and we add new tutorials on a weekly or monthly basis.