![]() |
#4
|
|||
|
|||
![]() Quote:
I recognise this problem requires a lot of work. That's why I manage the word document to another way. I previously said Quote:
So , I think the macro could be (but I don't know how to translate in VBA): -Open the Excel binder - Look at the first column 'code' and "memorize" all the codes - Go to the word document - If the first word of the word document is 'Customer 1' , search all the codes memorized in the document and replace them (and all their occurrences) by the corresponding cells of the excel table (I mean here cells of the column customer 1). - If the first word is 'Customer 2' , search all the codes memorized in the document and replace all the codes (and all their occurrences) by the corresponding cells of the excel table (I mean here cells of the column customer 2) etc ... I attached the new Word Document. I'm really sorry for this changement of problem but you made me realize that this poser requires a lot of work and isn't really pertinent for what I have to do here. To answer your questions: - Yes it's a real task I had to do here. - There is several customers (approximately 10) - So now, for one coded word, there will be just one possible word remplacement . - After an item has been replaced, I don't want to do another pass. Thank you again for your involvement and your help. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating a Survey with multiple Choice | Philipp Lobo | Word | 1 | 04-27-2015 05:25 PM |
![]() |
teza2k06 | Word | 1 | 04-29-2014 04:54 PM |
![]() |
ENEMALI | Word VBA | 1 | 09-29-2013 09:05 PM |
![]() |
micahfaulkner75 | Mail Merge | 1 | 09-12-2012 06:08 PM |
![]() |
burnsie | Word | 3 | 07-08-2011 05:10 PM |