If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Applications & Tools > MS Word Mail Merge - how to call user-defined function ??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-10-04, 04:21
Lepanto Lepanto is offline
Registered User
 
Join Date: Jul 2003
Location: Australia
Posts: 206
Unhappy MS Word Mail Merge - how to call user-defined function ??

I have created a MS Word document for mail merge. The data source is an MS Excel spreadsheet.

I want to insert a field to call a user-defined function --- this function should
accept a parameter and then returns a value (which should be displayed in the document). The parameter will be a field in the spreadsheet.

This is what I want to put in the field :-
= getSuburb (LaneNo)

e.g.
laneNo = 1, the document displays "Eastwood"
laneNo = 2, the document displays "Flemington"
...
...

I could not figure out how to do this. I've tried insert field or insert formula but it didn't work.

Please help.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On