From: Aish on
Hi all,

I am developing a .net program for customizing and controlling word(2007). I
am using .dotm templates for hiding ribbon. While inserting autotext entries
programmatically(through vb.net code), am getting an error "Call was rejected
by callee". If i attach .dot(word 2003 format) template, it doesn't throw any
error. But i need to use only .dotm templates as i need to hide all the tabs
and ribbon. Any way to stop this error. Please help me out..

Thanks
From: Graham Mayor on
Word 2003 and 2007 handle autotext differently from one another
http://www.gmayor.com/word_vba_examples.htm#Autotext and the following
example may help.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>



"Aish" <Aish(a)discussions.microsoft.com> wrote in message
news:B6C18B61-603E-47D4-8D63-164C2113E236(a)microsoft.com...
> Hi all,
>
> I am developing a .net program for customizing and controlling word(2007).
> I
> am using .dotm templates for hiding ribbon. While inserting autotext
> entries
> programmatically(through vb.net code), am getting an error "Call was
> rejected
> by callee". If i attach .dot(word 2003 format) template, it doesn't throw
> any
> error. But i need to use only .dotm templates as i need to hide all the
> tabs
> and ribbon. Any way to stop this error. Please help me out..
>
> Thanks