Good Introduction to Visual Basic in Excel
Good Introduction to Visual Basic in Excel
(OP)
I've been an Excel user for the last 10 years or so and I am just getting into recording macros and now i want to begin to understand visual basic. Just wondering what is considered the best introduction to visual basic.
RE: Good Introduction to Visual Basic in Excel
recommend starting in small steps and then progressing. any literature by john walkenbach, steven bullen, or microsoft (although limited in information) is helpful. john walkenbach and steven bullen have there own web pages with useful tips and vba code examples. within google-groups, there is a wealth of posts regarding excel+vba by some "experts" or competent people.
the macro recorder is helpful is learning how code is created, but understand that once recorded, the exact steps will be repeated. try recording a macro that simply copies and pastes data or formatting a cell (or range of cells).
creating custom functions that are globally available, hence simplify certain computations are useful!
be certain that the information you get pertains to the version of excel you have.
for me, i attended corporate sponsored week-long training seminar for vba in 1994 or so, which prompted me to pursue vba more at the time. perhaps a seminar being held in your local area is available.
good luck!
-pmover
RE: Good Introduction to Visual Basic in Excel
In my case, I started out learning VB (just for my own interest) before I ever used VBA in excel. For myself I found that just learning VB went a long way in using VBA because I didn't have to stuggle with the code writing in addition to how to work with Excels objects. At any rate, the book that has served me well when I needed it is:
"Microsoft Excel VBA 2000 Programming" by Julitta Korol (Wordware Publishing Inc.) ISBN 1-55622-703-5
RE: Good Introduction to Visual Basic in Excel
Other great places for help are the Microsoft newsgroups. Search for "excel [your problem]" on www.google.com under the groups section and you'll be flooded with information. Another site I like is http://www.mvps.org/dmcritchie/excel/excel.htm. And the Knowledge Base at http://support.microsoft.com. And hundreds more. That's probably enough to get you started and confuse you a bit. Then come back with more questions!
Patrick
RE: Good Introduction to Visual Basic in Excel
I started fooling around with VBA by using the macro recorder. Sooner or later, however, you're going to figure out that it's only good for certain programs. The most helpful guide I have is Microsoft Excel 2000 Power Programing with VBA by John Walkenbach. The web is also a good source of information.
Good Luck!
jproj
RE: Good Introduction to Visual Basic in Excel
http://j-walk.com/ss/
some may find this useful:
http://www.microsoft.com/enable/download/products/office/opg/ch05.txt
RE: Good Introduction to Visual Basic in Excel