Is there any difference between a VBA Program and Macro?

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hover the mouse pointer over the icon next to "Ready" on the task bar.
What text is displayed?
"No macros are currently recording. Click to begin recording a new macro."
Those recorded macros will be written in VBA.
Any questions?
 
Upvote 0
A macro is a set of instructions using VBA.....
So a macro might consist of 1 line of VBA or thousands of lines !!
 
Last edited:
Upvote 0
The author explains, in the article,

"[FONT=&quot]Macros were used with the older versions of office applications and they could only be used for automating instructions."
and
"... [/FONT]
[FONT=&quot]VBA later in 1993 replaced this Macro Language, and hence there is still a misconception among people to call VBA as macro language."

So the author's view is that only the early programming approach should be called macros. And this was superseded by VBA many years ago. OK?[/FONT]
 
Upvote 0
As Michael has stated a macro is a generic term for a set of instructions, VBA is a programming language (as Ron has inferred).
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,431
Members
452,326
Latest member
johnshaji

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