CTRL+Tab Gives VB Error

T

Thomas M

Word 2003

I have a user who has reported a strange problem in Word. I have my
doubts as to whether or not this problem is caused by Word, but since
the user is getting a VB error in Word, I thought that I would start my
research by posting the problem in this group.

When the user hits CTRL+Tab she gets the following VB error.

Error 91: Object variable or With block variable not set

The user also uses a program called CrossEyes, which is supposed to be
like the WordPerfect Reveal Codes command for Word. The user has
noticed that if she opens CrossEyes and then closes it, she can then go
in to Word and use CTRL+Tab without getting the VB error. This leads me
to believe that one of my least favorite programs--CrossEyes--is the
real culprit. Has anyone seen this problem before, or have an idea of
what might be causing the error?

--Tom

P.S.
I detest CrossEyes because the information that it gives is of limited
use, not always accurate, and the program has become a crutch for our
old WordPerfect users by helping them to continue to think in terms of
how WordPerfect does things, which just prevents them from ever truly
understanding Word. But that's just my opinion.
 
C

Cindy M -WordMVP-

Hi Thomas,

Funny, second time this week I've seen mention of "CrossEyes", and I'd
never heard of it before...

Anyway, this sounds like someone or something has reassigned the Ctrl+Tab
key combination to a macro (rather than allowing it to do its pre-assigned
thing, which is inserting a TAB character in a table cell). And this macro
is, for some reason, unable to compile because something has been declared
incorrectly or not been programmed correctly.

Hard to tell whether CrossEyes is the culprit under these circumstances. If
it were the other way around, it would be easy enough :)

If she holds down CTRL when starting Word she'll go into Safe Mode
(installation defaults, with no customizations - it may "look funny"). Does
the problem occur in that case?

What's the policy on Normal.dot template in your company?
I have a user who has reported a strange problem in Word. I have my
doubts as to whether or not this problem is caused by Word, but since
the user is getting a VB error in Word, I thought that I would start my
research by posting the problem in this group.

When the user hits CTRL+Tab she gets the following VB error.

Error 91: Object variable or With block variable not set

The user also uses a program called CrossEyes, which is supposed to be
like the WordPerfect Reveal Codes command for Word. The user has
noticed that if she opens CrossEyes and then closes it, she can then go
in to Word and use CTRL+Tab without getting the VB error. This leads me
to believe that one of my least favorite programs--CrossEyes--is the
real culprit. Has anyone seen this problem before, or have an idea of
what might be causing the error?

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

Thomas M.

Cindy,

Thanks for the reply. I have not yet had a chance to visit with the user on
this issue because she's been out of the office the last few days. I'm
helping another technician who picked up the ticket, but who is relatively
inexperienced at troubleshooting Word issues.

My first thought was the same as yours, that someone reassigned the function
of CTRL+Tab. I recognize Error 91 as a VBA error because I used to get it
fairly frequently when I was developing some macros for my personal use.
However, the tech that I am working with says that the user doesn't have any
macros, which is what prompted me to post the question here because if it's
truly not a macro problem, then I wanted to gather some other ideas before I
get the chance to visit with the user. Once the user is back in the office
I will try your suggestion of starting Word in safe mode (I had forgotten
that it's possible to do that--I think I've done that only one other time)
to see if that helps. I'll also check the macros and the key assignments.
I'll let you know what I find.

--Tom
 
T

Thomas M.

Cindy,

I was able to visit with the user today regarding this problem. The user
reports that the problem has vanished. We opened the document that she was
in when she got the problem, and we could not reproduce the error. I
checked the key assignments and CTRL+Tab is not assigned to a macro. There
are 4 macro modules in the user's Normal.dot file, and I browsed through
each, but the macros are fairly simple and I didn't see anything that looked
like it would be a problem (For example, there were no With statements
without an End With).

As for CrossEyes, I did notice that there is a CrossEyes toolbar in Word,
and there is a CrossEyes project in the Project Explorer bar in the VBE, but
the project is not viewable.

My money is on CrossEyes as being the cause of the problem, but alas, I must
admit that I don't have any real evidence to support that--I just don't like
CrossEyes! :)

--Tom
 
C

Cindy M -WordMVP-

Hi Thomas,

Hard to say what might have been the problem. But apparently it wasn't saved in
the Normal.dot template, so all is well (for the moment). Hope it stays that
way :)!
I was able to visit with the user today regarding this problem. The user
reports that the problem has vanished. We opened the document that she was
in when she got the problem, and we could not reproduce the error. I
checked the key assignments and CTRL+Tab is not assigned to a macro. There
are 4 macro modules in the user's Normal.dot file, and I browsed through
each, but the macros are fairly simple and I didn't see anything that looked
like it would be a problem (For example, there were no With statements
without an End With).

As for CrossEyes, I did notice that there is a CrossEyes toolbar in Word,
and there is a CrossEyes project in the Project Explorer bar in the VBE, but
the project is not viewable.

My money is on CrossEyes as being the cause of the problem, but alas, I must
admit that I don't have any real evidence to support that--I just don't like
CrossEyes! :)

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