Solved

VB differences

Posted on 2003-11-11
5
479 Views
Last Modified: 2010-05-03
1 What is VBA?
2 What is the difference between VBA and VB? Is it like learning a completely different language?
3 Is there much difference between VB and VbScript, is the syntax and the way you can use it different?
0
Comment
Question by:AphexT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 9

Expert Comment

by:dancebert
ID: 9726713
1. A VB based language for automating MS Office Applications
2. Part 1: http://www.softwarepolish.com/vb/vbavsvb.htm
Part2: No, it's like learning a different dialect
3. VBScript is a subset of VB.
0
 
LVL 6

Expert Comment

by:martinv
ID: 9726725
1. VBA is Visual Basic for Applications. It's used in MS Word and MS Excel among others.

2. No. There are some differences but they are minor. VB is a bit more poverfull than VBA (it can create standalone exe and dll for example)

3. Yes. VB is superset of VBScript.  You can do much more in VB than in VBScript.

For VBScript tutorial see http://www.w3schools.com/vbscript/default.asp

Moreover VB is no longer continued and is replaced by VB.NET. For more info see http://msdn.microsoft.com/vbasic/
0
 
LVL 2

Accepted Solution

by:
proziath earned 50 total points
ID: 9726763
VBA is visual basic for Applications. It is a version of visual Basic adapted for the microsoft office applications. For example VBA for excel has features that refer to cells whereas VBA for  access does not have such features because it uses entirely different concepts from excel. Generally VBA is not as powerful as VB.

VBA has some features that are very different from VB but it is not like learning a completely different language, there are many similarities between.

What can be said about VBA can be said about VBscript. VBScript is used to build interactivity and provide extra features in web pages but again, it is based on VB and once you learn VB, the transition to to VBScript is less painful.
0
 
LVL 27

Expert Comment

by:Dabas
ID: 9727730
Hi dancebert,
> Part2: No, it's like learning a different dialect
Partly disagree. I would say VBA is a subset of VB (in a different dialect)

Dabas
0
 
LVL 7

Expert Comment

by:_agj_
ID: 9728376
VBScript is kinda unrelated to VB except for the basic syntax...

as in, VB is used for apps.

VBScript is used for scripting with the windows scripting host or for doing stuff in webpages.

VB isnt used for anything like that.

VBA has been well explained. Nyways, its just VB for applications. As in, its just VB with objects n features that pertain to MS office applications, esp.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question