Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.vba.general,microsoft.public.word.vba.customization,microsoft.public.word.mailmerge.fields
|
|||
|
|||
Identifying and calling Application Data folder
Withe a Word macro, how do I identify and call the C:\Documents and
Settings\UserName\Local Settings\Application Data folder? I want to write a macro in Word that merges form file: C:\Documents and Settings\USERNAME\Local Settings\Application Data\mergeform.doc with it's data source: C:\Documents and Settings\USERNAME\Local Settings\Application Data\data.txt. Thank you in advance, KW |
#2
Posted to microsoft.public.word.vba.general,microsoft.public.word.vba.customization,microsoft.public.word.mailmerge.fields
|
|||
|
|||
Identifying and calling Application Data folder
sourcefile = environ("Appdata") & "\mergeform.doc"
datasource = environ("Appdata") & "\data.txt" "Kathy Webster" wrote in message news Withe a Word macro, how do I identify and call the C:\Documents and Settings\UserName\Local Settings\Application Data folder? I want to write a macro in Word that merges form file: C:\Documents and Settings\USERNAME\Local Settings\Application Data\mergeform.doc with it's data source: C:\Documents and Settings\USERNAME\Local Settings\Application Data\data.txt. Thank you in advance, KW |