Learning Visual Basic For Excel To Do Programming.

Visual Basic is an integrated development environment from Microsoft. This language is easy to learn and simple. How can learning visual basic for Excel be done?

Visual Basic is an integrated development environment from Microsoft. This language is easy to learn and simple. How can learning visual basic for Excel be done?
First step is to get started with VBA Excel provides many formulas to do many tasks but it cannot sort data or move it with formulas. It is better to do programming to carry out such tasks. For this VBA i.e. Visual Basic for applications can be used.
STEPS:
A simple example:
Sub percent()
MsgBox ”the program gives students percentage”
SUB1=InputBox (“enter marks of subject 1”)
SUB2=InputBox (“enter marks of subject 2”)
Percentage=Application.Pmt(SUB1,SUB2)
End Sub