Solved

VB differences

Posted on 2003-11-11
5
480 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

728 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