We have a challenge in our VBA class. Many of the students who join our VBA program have no formal programming background. They may have written a few simple programs long time ago, but most of them lack basic understanding of programming. Teaching VBA can be difficult if we do not address this problem.
So, we have added a lesson on “Introduction to Programming”. In this lesson, our aim is to introduce programming to non-programers.
Since many of you are considering to join our VBA classes, it is appropriate that we give this introduction to programming lesson as a demo lesson. Please watch it below.
Introduction to Programming lesson
What is in this lesson?
In this lesson, we will learn,
- What do the terms program and programming mean?
- Hello World Programs in VBA
- Programming Concepts – Variables
- Operators
- Conditions
- Loops
- Exception Handling
- Modularization
- Commenting
- Graphical Elements
Watch the lesson [55 Min, Part 1]:
Download the Presentation & Workbook
Click here to download the presentation slides [pdf]
Click here to download the workbook with HelloWorld example macros (you need to view code on the workbook).
To Watch the second part of this video + more on VBA:
There is more to this lesson. In Part 2 (30 more mins), we discuss various programming jargon & share tips on how to start programming.
You can get the part 2 and more lessons on VBA by joining our VBA classes.
Click here to learn more about VBA Classes & Enroll.
Please note that registrations will be closing next Friday – 20th May.
How would you introduce programming to a layman:
Please tell me how you would introduce programming to a layman, using comments. I would like to learn from your perspective.
PS: Go ahead and join our VBA Class if you want to become awesome in VBA.
PPS: Check out introduction to Excel too.


















9 Responses to “Show forecast values in a different color with this simple trick [charting]”
While this works in a pinch, it clearly "lightens" the colors of the entire chart. Depending on where you use this, it will be blatantly obvious that you don't know what you are doing and present a poor looking graph.
Why not separate the data into different segments when charting and have as many colors as you have data points? You might have to create a new legend and/or repeat the chart in "invisible ink", but it would be cleaner and more consistent when new or updated data becomes available.
While I think I agree that doing it "properly" via a second series is preferable, I don't necessarily agree that making the entirety of the "future" (data, gridlines, and even the axis) semi-transparent is "poor looking". I think it could be seen as adding more emphasis to the "future-ness" of the forecast data.
In short, it's another tool for the toolbox, even if it's never needed.
Simply and clever 🙂
Quick & effective, cool. thanks.
I always use the dummy series.
Nice little trick, thanks very much!
Two sets of data better. Control is much better.
You can use the same chart next month to see what is actual and what is forecast.
To use this trick, I think grid lines has to be removed, that will make the graphic much more sharp.
to be honest, i dont understand why there is needed to do this way... in this case horizontal lines will be pale as well. then why a just can't change the color of the line partly???
Great tutorial. Thanks for the tutorial!