Hi all Is it possible to programmatically set Autotext 'Look in:' drop down field to display autotext from a specific template using VBA? I am using the code below to show the Autotext menu where a user then selects the desired entry, but I am hoping to only show entries from the attached template: Dialogs(wdDialogEditAutoText).Display I also tried turning on the Autotext toolbar but this also doesn't allow you to display entries from the attached template only. Thanks in advance.
"Rue" wrote: > Hi all > > Is it possible to programmatically set Autotext 'Look in:' drop down field > to display autotext from a specific template using VBA? > > I am using the code below to show the Autotext menu where a user then > selects the desired entry, but I am hoping to only show entries from the > attached template: > Dialogs(wdDialogEditAutoText).Display > > I also tried turning on the Autotext toolbar but this also doesn't allow you > to display entries from the attached template only. > This is rather difficult to accomplish. There is no direct access to that dropdown via VBA. The bet you can hope is a kludgy "SendKeys" alternative. But, unless you have total confidence that all users using your code will have the same list in that dropdown, it is difficult to control...