Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Browse for data source
In Word 2000 I have a simple macro to do a mailmerge, however the header and
data source will be in differenct locations for different users. Is there a way to include the browse function in a macro? -- Robo |
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Browse for data source
I think you would have to use the approach described at
http://word.mvps.org/FAQs/MacrosVBA/WordDlgHelp.htm with the dialog boxes named wdDialogMailMergeOpenHeaderSource and wdDialogMailMergeOpenDataSource However, if you want to extract the name that the user selected in the dialog, rather than simply executing the dialog, be careful because the name returned my just contain the file name and not the full pathname of the file. Peter Jamieson "Robo" wrote in message ... In Word 2000 I have a simple macro to do a mailmerge, however the header and data source will be in differenct locations for different users. Is there a way to include the browse function in a macro? -- Robo |
#3
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Browse for data source
Thanks Peter, that's exactly what I needed.
-- Robo "Peter Jamieson" wrote: I think you would have to use the approach described at http://word.mvps.org/FAQs/MacrosVBA/WordDlgHelp.htm with the dialog boxes named wdDialogMailMergeOpenHeaderSource and wdDialogMailMergeOpenDataSource However, if you want to extract the name that the user selected in the dialog, rather than simply executing the dialog, be careful because the name returned my just contain the file name and not the full pathname of the file. Peter Jamieson "Robo" wrote in message ... In Word 2000 I have a simple macro to do a mailmerge, however the header and data source will be in differenct locations for different users. Is there a way to include the browse function in a macro? -- Robo |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to link a different Mailmerge header source and data source? | Mailmerge | |||
data form button greyed out in word 97 data source | Mailmerge | |||
DotNet Data Table as Mail Merge Data Source | Mailmerge | |||
data source doesn't list my address book when I hit the browse | Mailmerge | |||
data in mail merge letter being cut off - data source field size? | Mailmerge |