PDA

View Full Version : drop down menus from know where



neojapanese
06-12-2007, 04:25 AM
hey guys. i am working on this word doc that gets custom menus from nowhere! i looked all over the code to see how the menu was made and found nothing. 2 days later i noticed this

Me.Application.Documents.Add(Template:="C:\Test\SampleTemplate.Dot")

then i open the SampleTemplate.Dot file and found the forms and menus that seem to be called out of know where.

so my quest is...when using the Documents.Add command ..in a doc are you pulling in the menus and forms as well. if this is true and SampleTemplate.Dot has a from called TEST and the doc file you opened called "link.doc" had Documents.Add "SampleTemplate.Dot" ..how would you call form test from it? it being "link.doc"
?

also it says
Documents.Add "SampleTemplate.Dot" , , , False
so some how the link.doc is getting a drop down menu bar that is not made via code
however the SampleTemplate.Dot has that menu
and from link.doc i dont know how to promaticlly trigger the menu thats in SampleTemplate.Dot

please ignore this question..i know the answer now.. please delete