|
|
|
date: Thu, 4 Sep 2008 11:37:34 -0700 (PDT),
group: microsoft.public.word.vba.general
back
Re: VB Runtime Error 91 without me writing any VB Code
Hi OccasionalFlyer,
> I can't think of the place to ask this question that would be optimal,
> so I'm trying here. I am inserting an XML document's fields into an
> MS Word template. I've inserted several fields but now I'm hitting a
> Visual Basic error when I try to do stuff.
> Run-time error 91: Object variable or With Block variable not set
>
> I suppose there is VB code under the covers somewhere but I don't know
> where, so I have no idea why adding a few fields to my XML document,
> which Word said was successfully loaded, causes this error, and I
> don't see anything in Word that will help me.
>
> Can anyone suggest a way to figure out the problem? I am a
> programmer so I might mind digging through a log or something but I'm
> having to do something out of my normal realm or expertise.
>
It would help us a lot if you provided more detail about what this
document is, how it is created, what kinds of "fields" are being
inserted and how (which menu commands). You don't even mention the
version of Word involved...
As it is, there's not a lot anyone can do. About the only thing I can
suggest would be to start Word in Safe Mode, then see if the problem
persists...
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
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 :-)
date: Wed, 17 Sep 2008 15:57:59 +0200
author: Cindy M.
|
|