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

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##!


Beceriler: Uygulamalar için Visual Basic

Daha fazlasını gör: what should i ask for, visual basic for applications, looking for employee, example for project, asking for work, vba for word, word input, word 2010, vba word, looking for an employee, boxes, vba employee details, word vba project, vba word document, vba example code work, visual basic visual basic 2010, simple project visual basic 2010, visual basic applications 2013, word 2010 visual basic, name details, enter details, visual basic project 2010, vba document, input screen populate word document, visual basic word 2010

İşveren Hakkında:
( 1 değerlendirme ) Edinburgh, United Kingdom

Proje NO: #4417849



Hello . I can help

%selectedBids___i_period_sub_7% gün içinde 30%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(0 Değerlendirme)