By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,034 Members | 1,714 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,034 IT Pros & Developers. It's quick & easy.

VB.net and VBA

P: n/a
DKJ
Is VBA wholly and completely a subset of VB.net? Are there any objects or
methods or coding techniques that one could learn in VBA that wouldn't also
apply in VB.net?

So if I will have learned VB.net, by definition, I will have learned VBA?
Jul 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
VBA is not a subset of VB.NET in the first place. VBA applications are not
managed code (do not run within the CLR).

VBA uses the Visual Basic 6.0 (COM based) programming language in
conjunction with Office application object models. If you learn/know VBA,
you will have learned "some" of the VB.NET language syntax, but you will not
have learned any of the object oriented techniques used in VB.NET and you
will not have worked with the .NET Framework Class Libraries.

The short answer is VBA and VB.NET are 2 very different and unrelated
things.
"DKJ" <DK*@discussions.microsoft.com> wrote in message
news:38**********************************@microsof t.com...
Is VBA wholly and completely a subset of VB.net? Are there any objects or
methods or coding techniques that one could learn in VBA that wouldn't
also
apply in VB.net?

So if I will have learned VB.net, by definition, I will have learned VBA?

Jul 21 '05 #2

P: n/a
DKJ
Thank you.

"Scott M." wrote:
VBA is not a subset of VB.NET in the first place. VBA applications are not
managed code (do not run within the CLR).

VBA uses the Visual Basic 6.0 (COM based) programming language in
conjunction with Office application object models. If you learn/know VBA,
you will have learned "some" of the VB.NET language syntax, but you will not
have learned any of the object oriented techniques used in VB.NET and you
will not have worked with the .NET Framework Class Libraries.

The short answer is VBA and VB.NET are 2 very different and unrelated
things.
"DKJ" <DK*@discussions.microsoft.com> wrote in message
news:38**********************************@microsof t.com...
Is VBA wholly and completely a subset of VB.net? Are there any objects or
methods or coding techniques that one could learn in VBA that wouldn't
also
apply in VB.net?

So if I will have learned VB.net, by definition, I will have learned VBA?


Jul 21 '05 #3

P: n/a
DKJ,

In addition to Scott,

VBA and VBS you can see to VB6 and VBNet as
JavaScript and JScript to Java and CSharp.

It uses the same style and keywords

Cor
Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.