VBA of Excel is the same as VBA of Access?

WESTERNWALL

Board Regular
Joined
Oct 8, 2002
Messages
204
Office Version
  1. 365
Platform
  1. MacOS
Hi

A a point of interest, what is the difference between VBA for Excel and VBA for Access, if any? That is to say, if I want to learn VBA for Excel now and at a later stage I decide to get into Access, is it a completely different ballgame learning VBA for Access?

Thanks
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
the basics are the same, but will of course have some differences for the two applications. Join a forum and read through questions that are VBA related is a great way to learn and gather knowledge. There are several great books for sell on MrExcel site.
 
Upvote 0
As Lynn pointed out, there really are a lot of similiarities (learning one will definitely help you with the other). But they are not the same. Dealing with spreadsheets and dealing with databases are a bit different. Certain functions are available in one and not the other (though many functions are basically the same). And the syntax of some things is sometimes slightly different.

However, if you learn Excel VBA, then you will have a huge leg up and learning Access VBA won't be bad at all.
 
Upvote 0
VBA itself is the same in both but the Object Models involved are very different since the programs are very different. :)
 
Upvote 0
VBA itself is the same in both but the Object Models involved are very different since the programs are very different. :)

Thanks a lot for your replies and explanations. Much appreciated.
 
Upvote 0
VBA itself is the same in both but the Object Models involved are very different since the programs are very different. :)

In a position of having to define the differences between Excel and Access. Saying one is a spreadsheet program and the other is a database program does not seem to be cutting it.

:grin: Could someone please give me some help on this in a way that persons with limited computer knowledge can understand... Thanks
 
Upvote 0

Forum statistics

Threads
1,225,624
Messages
6,186,068
Members
453,336
Latest member
Excelnoob223

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