|
Sorry, I have never had need to figure this out, but if I was to do this, I would probably do it in MS Access. This would have the advantage of preventing someone from sorting a column in the MS Excel spreadsheet and corrupting your entire fax data spreadsheet.
OPTION #1 (more complex to create)
If you want to write this totally from MS Word, I would start by looking up DDE (Dynamic Data Exchange) in the help files. DDE is used to pass data to and from different MS Office applications. Using DDE requires some VBA programming and might require some head scratching if you are not familliar with VB. Fortunately VB is one of the easier languages to figure out.
(My limited experience with DDE is to take data from MS Access, open a new MS Excel file and pass data through to cells in the spreadsheet, have MS Excel perform mathematical operations unavailable in MS Access, and then return the results from MS Excel to MS Access before exiting from MS Excel.)
OPTION #2 (easier to create)
figure out how to run a mail merge operation through VBA.
OVERALL STRATEGY
I suspect that you would want to
1 - insert a new toolbar containing a FAX command button
2 - have the button call a form with a combo box bound to the data stored in an MS Access table so that all unique values in the table become available as selections within the combo box
3 - have a click event initiated when a value is selected from the combo box that will filter out only that record from the MS Access table and then mail merge the filtered record into a MS Word document.
Unfortunately I do not know enough about MS Word VBA to tell you how to do this, but can tell you that you can create custom buttons by selecting VIEW => TOOLSBARS => CUSTOMIZE => select the TOOLBARS tab => click the NEW button. You can then create a macro to assign to that button.
I hope this helps.
Last edited by ctaylor; 12-16-2003 at 06:39 AM.
|