MS Word & VBA - Populating user input into a document (Word)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tara99
    New Member
    • Oct 2006
    • 106

    MS Word & VBA - Populating user input into a document (Word)

    My question is in regard to writing VBA to automate things in MS word.

    I have a template such as a letter to a business unit or some one which can be used repeatedly.
    I have few fields in this letter and they have been repeated few times, what I want to do is to is to type those repeated words once only and want them to get populated across the letter.

    I was thinking about to have few input boxes asking for those specific words, once the user enters those words and hit the button "OK" it will get populated.

    Can any one help on how to approach this?

    Many thanks
  • MMcCarthy
    Recognized Expert MVP
    • Aug 2006
    • 14387

    #2
    Technical Questions are not allowed in the Cafe. I've moved this to the Access forum where they may be able to help.

    ADMIN

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32634

      #3
      Originally posted by tara99
      My question is in regard to writing VBA to automate things in MS word.

      I have a template such as a letter to a business unit or some one which can be used repeatedly.
      I have few fields in this letter and they have been repeated few times, what I want to do is to is to type those repeated words once only and want them to get populated across the letter.

      I was thinking about to have few input boxes asking for those specific words, once the user enters those words and hit the button "OK" it will get populated.

      Can any one help on how to approach this?

      Many thanks
      There are two concepts that may take you where you want to go.
      1. Mail Merge - This is probably worth your time looking into. It may well be a full solution.
      2. Application Automation - This is much more technical, but you'd need a good idea of what you were looking to do before you even start.

      Comment

      Working...