Is there any difference between a VBA Program and Macro?

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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