Solved

Tutorial VBA

Posted on 2012-04-11
5
300 Views
Last Modified: 2012-06-21
Hello EE,

I'm desperate to learn everything about VBA and its magic.

I could pay 800€ (1000+$) for a training Class of 3 days but thats not an option because I have to work during Daytime.

I was wondering how many of you learned it? How to learn it on your own.

Thank you!
0
Comment
Question by:Oreios
5 Comments
 
LVL 9

Assisted Solution

by:armchair_scouse
armchair_scouse earned 150 total points
ID: 37832044
How I learned most of my VBA was via a combination of on the job and private tinkering around, using the VBA macro recorder to record multiple actions/commands in Excel, then looking at the results and cleaning them up/adjusting them accordingly, with a VBA book to hand for reference.  Mind you, I started before VBA was around, Excel 2.1/Excel 3.0, when it was 'Excel Macro Language', but the principles were the same then as they are now.

You can attend a course, which is a more formal, structured approach to learning VBA.  Ultimately, if you are starting from the beginning, macro recording will take you so far, but to extend the code generated by the macro recorder, you need to know the basics of programming, such as declaring/assigning variables, loops, case statements, the scope of variables, program flow, error handlers, creating/using forms, et cetera.

I recommend you go to your nearest book store that sells programming books, and have a look at some of the VBA beginner's books, e.g. one of those 'Idiot's Guide To...' type things.  From my experience, these books are very good at getting you started.  Also there is a wealth of examples/samples online, so if you come across a function/term that you are stuck on or unfamiliar with, then <insert your search engine of choice> is your friend.  Who knows, you may well find your answer(s) on Experts Exchange!!  :o)

Good luck on the road to VBA nirvana!
0
 
LVL 47

Assisted Solution

by:Dale Fye (Access MVP)
Dale Fye (Access MVP) earned 150 total points
ID: 37832072
I learned Access VBA by tinkering, along with help from people on this and several other forums.  

It is not quite as convenient as being able to record an Excel Macro, then look at what Excel generated, but it works.  There are also a number of great templates and example databases (Northwind) which provide a lot of examples as well.  Open one of those up and start playing around.  If you see something you want to use, look under the hood and see how the code is written.  

If you have questions, post them here.  there is usually more than one way to accomplish the same task, so read all the responses and try them out to see if they do what you want.

Good luck.

Dale
0
 
LVL 6

Accepted Solution

by:
wshark83 earned 200 total points
ID: 37832358
best way to start of is using the macro recorder...if you want to do something just record the macro and see the code it generates....

here are two useful links to get you started with the basics of vba...

http://www.anthony-vba.kefra.com/vba/vbabasic1.htm

http://www.excel-vba.com/excel-vba-contents.htm

also you can pop down to your local library and get loads of books which can help and best of all its FREE.....
0
 
LVL 9

Expert Comment

by:armchair_scouse
ID: 37832912
*Nods sagely at wshark83*  Of course, the library is a consideration (as an alternative to buying books)!!
0
 
LVL 3

Author Closing Comment

by:Oreios
ID: 37835974
Thank you,

I'll use this advice to Tinker it on my own :)

Lets hope this works out :D
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

756 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