What's the best way to self-teach VBA, your opinion please... (lon

S

steve321

Hi Folks,

This is a very general question. I'm just wondering what paths you guys
(and gals) would recommend for somebody trying to learn VBA from scratch. I
guess by a lay-person's standards I could be considered a Word or Excel
"power-user." I have Office Professional 2003 at my disposal (via my work
place). I have no plans to become a professional programmer, but there is a
huge need for automation in my work, so I’m trying to make myself a VBA
self-taught “expert.†I’ve managed to create some slick Excel UDFs and (more
relevant to this group) a master document for doing psych reports at work.
It has a form that shows upon opening the doc. I type the client’s name into
it then click the “Male†or “Female†button and VBA does the appropriate
find-n-replacements. It then shows the Save As dialog so I remember to
rename it. (note that I alter the boilerplate doc often which is why I don’t
use a Word Template.) Anyway, my master doc is huge with sections for every
possible scenario. After Saving As, I (manually) cull out the unneeded
portions. This was how far I got on automation—where I got stuck. Somebody
on the wordvbabeginner site recommended trying headings in a list box (thanks
HelmutW). Select the sections to keep from the listbox and purge the rest.
Just like many other steps in the process, trying to populate a list box with
anything dynamic has stumped me.

My point here is not to ask for specific guidance about this, or any
project. As much as anything I guess I’m venting… I know the types of
things that I get completely stuck on are super-no-brainer-obvious for most
of you guys. I guess I could just come back to the forum here and seek
advice every single time I get stumped, but that would be quite often :eek:) I
figure the better way for general overall mastery is for me to just scour
beginner VBA books samples on the web. (By the way THANK YOU guys who do the
MVP websites—I believe they’ve been the most helpful of anything.) I guess
many of the MVPs and others here are probably professionals who have
programmed since before VBA existed… Many probably helped in the very
evolution of VBA. Maybe programming just comes naturally for some—I don’t
know. I’m pretty good with math and general logic and I can usually learn
new skills pretty easily, so it seems like I’d be able to pick up programming
fairly easily--clearly this not the case. What I’d really like to do is take
some college courses, but this is cost-prohibitive. I’ve tinkered with VB
Express 2005. There are some free how-to videos that walk you through
creating an application. Also I see that there are some free VB Exp05
“starter kits†on the web. It seems like this would be very helpful for
learning Word VBA too, but alas, no such thing seems to exist. I’ve tried
downloading free VBA projects from the web (with the hope of dissecting the
code), but they tend to be locked. (Plus Windows sort of scares me with all
the “macro virus†warnings ;o) Anyway, I know some of you guys started like
me—just a hobbyist that jumped right in. How did you do it? If you’re an
old-time programmer, what do you recommend? Are there things I’m not even
thinking to ask???

The question: What methods of- and resources for- self-teaching VBA do you
recommend?

Much thanks for any insights you can offer. Much thanks to those of you who
take the time to answer posts like these—only you make this technology
accessible to the average person (like me).
 
H

Helmut Weber

Hi Steve,

be patient and be self-confident,
it took me more than a year to make
the step from WordBasic to WordVBA, as far as I recall.
Yes, there was a dozen or so programming languages before.
No, that didn't help too much, may just the opposite.
I guess I could just come back to the forum here and seek
advice every single time I get stumped.

I think that is the best you can do.
You're always welcome.
The clouds will vanish step by step.

I never worked my way through a book on programming,
yet every each book I got is most valuable.
I got a nice collection of tomes.
I don't read them, I use them.
Except on a quiete place in the morning, I thumb through,
after breakfast, for about 15 minutes.
Which makes about 1350 minutes per season. :)

Never took a lesson.

IMHO, the most important thing is to know,
whether a problem is solvable at all.
If it is, then I must be able to solve it.
Otherwise, i am at my limits.
I’m pretty good with math and general logic

If so, than it is just a matter of time.
Keep on.

As far as security is concerned,
I am taking some risk, but recommend it in no way!
Lets see, who is smarter, hackers or phishers or me.
So far, I've won.

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 
T

theLuggage

I've found the "Dummies" books to be real good intros. They'll cover the
basics pretty well. But maybe you're beyond the basics.

I've also bought the Excel and Word "Developer's Handbooks" published by
Sybex. They've been real helpful.

Good luck and stick with it (as Helmut said).
 
E

Ed

Hi, Steve.

I've started just like you. I just wanted to make life easier at
work. When I found out what VBA could do for me, I jumped in! I've
got a few books, and like Helmut they are references I use.

These groups have been the best help I have! Not only asking a
question, but using the Google Advanced Groups Search. Chances are,
your question has been asked before. Rather than ask and wait to be
pointed to a previous answer, I've learned to search first, and I
usually find the answer I would have been pointed to.

Welcome to the club!

Ed
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top