Home |
Search |
Today's Posts |
#6
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Macro Security
Hi ?B?RGFu?=,
Can I run this method using MS Access VBA or will I still run into the same problem? I have made a couple initial attempts with no success. My initial code is as follows: Set oDoc = GetObject(Forms![frmDocsMain]![Sub]![FilePath], "Word.Document") oDoc.Application.Visible = True oDoc.Application.WindowState = wdWindowStateMaximize If its possible, from here I'm not exactly sure how to proceed with the OpenDataSource code. Best is to record linking to the data source in a Word macro, then copy the result into your automation code and make any necessary adjustments (such as replacing the hard-coded file path with a variable). Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Word has stopped access to the Endnote 6.0 with macro security | Microsoft Word Help | |||
Macro Security | Microsoft Word Help | |||
macro security will not stay set | Microsoft Word Help | |||
Prevent User from Changing Macro Security | Microsoft Word Help | |||
Save As is not working due to macro security settings | Microsoft Word Help |