Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add text using keyword

Status
Not open for further replies.

tommyj

IS-IT--Management
Dec 19, 2003
1
US
Hi All,
I have several document templates on the server that several different department access (too many to manage and making my life difficult). The problem is that the users must manually add relevant department detail on each document.

For example the sales dept may add:

Sale Dept
Bla bla bal
Bla bla

And the Marketing Department may add
Marketing Dept
Bla Bla
Bla Bla Bla

Q) Is it possible to write a VB script that will automate these entries? For example: If the head of sales typed: "Sale" all sales dept details will automatically be entered and if a member of Marketing dept typed "marketing" all marketing detail will be entered.

Q) If this is possible any help would be appreciated and a simple sample script would help me endlessly?

Thanks for any help
Tommyj

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top