Closed

Input boxes ask for details and puts them in Word 2010 document

This project was awarded to grigiq for £30 GBP.

Get free quotes for a project like this
Employer working
Awarded to:
Skills Required
Project Budget
£20-£250 GBP
Total Bids
1
Project Description

I'm looking for some simple VBA code - with comments to show what's going on - which runs when a Word 2010 document is opened.

The code needs to bring up an InputBox asking for 'Project Name' and then another asking for 'Project Code' (you can enter nothing or press cancel).

The code should then insert the 'Project Name' and 'Project Code' wherever their markers exist in the document.

For example:

Dear Employee,

##Project Name##
##Project Code##

You have been chosen to work on ##Project Name##!

Regards,

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online