Teaching myself VB

Y'all Qaeda

Username approved by US Airforce
Joined
Nov 9, 2009
Messages
18,097
Reaction score
7,118
Location
Netherlands
I want to start teaching myself some visual basic, basically to be more proficient in excel - which is weird I know.
Anyone have any good *free* books to recommend? I did some Turbo Pascal in high school, but I doubt it'll be of much help.

Links to said books will be appreciated.
 
Sorry to be pedantic, but if you want to write macros in Excel then you need to learn VBA (Visual Basic for Applications), not VB. There is a subtle but important difference between the two.
 
Sorry to be pedantic, but if you want to write macros in Excel then you need to learn VBA (Visual Basic for Applications), not VB. There is a subtle but important difference between the two.

I've noticed that. But the way I figure, if I start with VB and then move to VBA I'll have a better understanding of the working of it etc. plus I'll probably know more commands so win win I thought.
 
The problem is that the latest flavour of VB is VB.NET, while VBA still uses the old syntax of VB, similar to VB5 and VB6. Most of the literature out there on the Internet for VB is going to be for VB.NET, and there is a big difference in syntax between VB.NET and VB5, VB6 and VBA.

Plus VB.NET uses the .NET framework and is much more object-orientated than VBA, which is still very much a procedural language.
 
Top
Sign up to the MyBroadband newsletter
X