VB Runtime Error 91 without me writing any VB Code

  • Thread starter OccasionalFlyer
  • Start date
O

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. Thanks.

Ken
 
C

Cindy M.

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 :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top