Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
A1sysman A1sysman is offline
external usenet poster
 
Posts: 6
Default Using Word to resolve values defined in a csv file

Hi all,

Can Word be configured to use a csv lookup table or an Excel spread sheet?

Below are examples of the specifics:

Source in the Word doc €¦

Sponsor1233/Sponsor
Sponsor44/Sponsor

Target output after using the look up €¦

SponsorJOHN BROWN/Sponsor
SponsorPAUL WHITE/Sponsor

Where there is a csv file generated from an Excel spreadsheet, that reads€¦

Brown,John,1233
White,Paul,44
Green,Nick,9062
.... and so on.

If the answer is "yes, Word can do this", how please?

Thanks,

A1sysman
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
TedMi TedMi is offline
external usenet poster
 
Posts: 155
Default Using Word to resolve values defined in a csv file

I believe you would have to write a VBA program that opens the lookup file
and processes it. That would be much easier to do with the lookup in an Excel
spreadsheet rather than a csv.
--
TedMi

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
A1sysman A1sysman is offline
external usenet poster
 
Posts: 6
Default Using Word to resolve values defined in a csv file

Ok, thanks for your reply and suggestion.

I was thinking more along the lines of whether it is possible to use a Word
macro to use a csv file in order to resolve UINs to names, then to continue
on and use seach and replace of the UINs with a reorder of the date by way of
field 2 {space} field1 capitalised, omitting field 3.

Does that make sense? I'm too lightweight a user of Word to know if this is
possible or, if it is, how to do it!


Rgds,

N

"tedmi" wrote:

I believe you would have to write a VBA program that opens the lookup file
and processes it. That would be much easier to do with the lookup in an Excel
spreadsheet rather than a csv.
--
TedMi

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set the margin values of a word file in c#? vincent Page Layout 5 September 6th 07 02:04 PM
Inserting pre-defined text at pre-defined location upon tick! gianni Microsoft Word Help 4 June 2nd 07 12:03 AM
In Word Error 1706 comes up. How can I resolve this? Terri Microsoft Word Help 2 December 1st 06 08:06 PM
Problem arises when ref bookmark is added in the header ,it does not take the modified values and displays the same old values divya Microsoft Word Help 2 July 6th 06 01:08 PM
Problem arises when ref bookmark is added in the header ,it does not take the modified values and displays the same old values divya Microsoft Word Help 0 July 6th 06 11:47 AM


All times are GMT +1. The time now is 01:02 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"