vba vs vb6

aca4life

Board Regular
Joined
Feb 8, 2008
Messages
85
This may be stupid question, what is the difference between VBA and VB6? Is VB6 included in my XL 2003 version or is this a separate software I have to purchase?
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
VB6 is not inclued in Excel or Office.

It normally comes with Visual Studio.

But even then it's actually been superseded by VB.Net as far as I'm aware.

As to the difference, I suppose the main one is the object model.

That is in Excel VBA you have the Excel object model, in Word VBA you have the Word object model etc

These allow you to access objects such as worksheets, ranges etc
 
Upvote 0
VBA uses VB6 but it is distinct and tied to the Application. With VB you can create standalone executables whereas you can't do this in VBA. VB6 also provides you with Windows Forms. Syntax wise they are indentical altho you need to appreciate that with VBA you generally use the Object model that comes with your application, whereas with VB you are creating many more of your own classes (objects) with their own properties and methods and events (you can also do this in VBA, but often there is no need as the object model already provides most of the functionality you will need).
 
Upvote 0

Forum statistics

Threads
1,225,363
Messages
6,184,519
Members
453,238
Latest member
visuvisu

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