Is there any difference between a VBA Program and Macro?

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi
That question is answered in the article below. The author is saying macro and vba are different. I am very confused now. I thought macros (recording macro) are vba sub routines, am I right? I thought these recorded macros will be saved as vba subs

https://www.exceltrick.com/excel-vba-basics/what-is-excel-vba/
 
Last edited:

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
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,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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