Results 1 to 5 of 5
  1. #1
    3 Star Lounger
    Join Date
    May 2002
    Location
    Smithfield, Free State, South Africa
    Posts
    210
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Start learning VBA (Word 2000 SR1)

    I have used Word extensively and create macros by recording.
    There are times when I would like to use VBA to expand or create macros myself.
    Do any of you know where I could get information to start from scratch as my knowledge is rather on the dangerous side and I actually don't know how to read the macros (sad to admit!).
    Lynden

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Start learning VBA (Word 2000 SR1)

    Take a look at the WordFAQ site. Under FAQs (Macros/VBA tab) and Tutorials (Books tab) you'll find useful information and links.

  3. #3
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts

    Re: Start learning VBA (Word 2000 SR1)

    I agree that the Word MVP FAQ site is a great starting place. See Books about Microsoft Word (addbalance.com/word/wordbooks.htm) for comments made about various books on the Word newsgroups on the Microsoft newsserver. Howard Kaikow maintains an annotated list on his site as well.

    You may also want to take a look at Web Resources - VBA.
    Charles Kyle Kenyon
    Madison, Wisconsin

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Start learning VBA (Word 2000 SR1)

    I think the Books and VB boards probably also have some suggestions.

    There really are two different things to learn about VBA in Word. The first is the names of all the different pieces and parts of Word, your documents, and so on. If you are in the VB Editor and press F2, you get a tool called the Object Browser which can be helpful in exploring, but really is not a full explanation of what's there. Often recording a macro is the best way to drill down into the object model and get a starting point for exploration.

    The second part is the Visual Basic language. If you are editing a recorded macro, one of the most common things you need to do is add a loop so that an action you recorded will be performed repeatedly. For learning this, a general reference on Visual Basic/VBA is helpful. But you still need to understand the object model so that you have a way to stop your loop from running.

    And of course, the Lounge is a great resource, full of samples of working code to tackle specific problems, and generous volunteers posting more all the time.

  5. #5
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts

    Re: Start learning VBA (Word 2000 SR1)

    One other warning is to be sure that you have learned Word (without programming) thoroughly, especially styles and the replace function before you start trying to really do much programming. Otherwise, you'll spend weeks or longer trying to write a program to do something in Word that is already there!

    I would recommend, at a minimum, going through the tutorials in the Intermediate Users Guide. (see sig block)
    Charles Kyle Kenyon
    Madison, Wisconsin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •