|
|
 |
| Word VBA Discuss using VBA to program Word. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Word VBA section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

May 22nd, 2009, 05:17 AM
|
|
Registered User
|
|
Join Date: May 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Need help in word VBA
Hello Everyone,
I am new in word VBA and need help with below thing:-
I am into a job where I receive word documents from customers with questions in it regarding our services and products. Many a times I receive a template which has almost the same questions I already have answered into the previous word doc to previous customer.
In this scenario I want to make such a code that once I come across a question which I have already answered in previous template I trigger the code and it searches for the question of the current doc into the previously answered document (which is also open on my system) and once it finds it copies the answer to it, comes back to the current document and paste it right below the question.
Please let me know if that's possible and if yes how to do the codes..
I have been doing Excel VBA codes but have not a little idea about word coding.
Thanks in advance :)>
Regards,
Premanshu.
|

May 22nd, 2009, 09:31 AM
|
|
Friend of Wrox
|
|
Join Date: Sep 2005
Location: , , .
Posts: 417
Thanks: 0
Thanked 14 Times in 14 Posts
|
|
First let me appreciate for your thoughts. The concept is widely called as KADB - Known Answer Database and mosty will be in some RDBMS
IF you are very much particular about the formatting, you can have it as a Word table - Column 1 containing the question and Column 2 the answer.
You can use Selection.Find to search for the question in column 1 and grab the answer from column 2
Give it a try
Cheers
Shasur
|

June 25th, 2009, 10:46 AM
|
|
Registered User
|
|
Join Date: Jun 2009
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
how to post a new question
I am new for this forum. I tried to post a new question, and am unable to know how do I post it? Can you help me? thanks.
|

June 26th, 2009, 11:04 PM
|
|
Friend of Wrox
|
|
Join Date: Sep 2005
Location: , , .
Posts: 417
Thanks: 0
Thanked 14 Times in 14 Posts
|
|
On top of every forum you have a button called New Thread. You can use this to create new posts
Cheers
Shasur
|
|
The Following User Says Thank You to Shasur For This Useful Post:
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |