subscript out of range

T

Tom R

Every time a new word document is opened we receive a VB error message
stating Subscript out of range. We are using Word 2002.

Any help would be appreciated.
 
T

Tom Ferguson

The error almost certainly is caused by an error in a visual basic for
applications macro or script. If a macro error, that macro is possibly
installed in normal.dot. You can navigate to Tools Macro Macros and
check. Another possibility is a dot is containing the macro resides in the
autostart directory

The problem is that the macro (or possibly VB script) references an array
(subscripted variable) which is beyond the declared range of that variable.
e.g. the variable was declared as (3,2) but an attempt is made to read or
write element(3,3).

Solution- delete the macro or edit it to remove the error if you are able.

For other suggestions or more detailed assistance, please consider posting
the question to a programming group.

Tom
MSMVP
Windows Shell/User
 
B

Beth Melton

If the KB article 'garfield-n-odie' provided doesn't help resolve the
issue then here's another troubleshooting article for Word VB errors
that provides some additional details not contained in the MS KB
article:

"WD: How to Troubleshoot a Visual Basic Compile or Runtime Error in
Word"
http://support.microsoft.com/default.aspx?scid=kb;en-us;555221


Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
T

Tom R

Thanks to everyone who replied.

The article that 'garfield-n-odie' did the trick. There was a bad file in
Documents and Settings\username\Application Data\Microsoft\Word\Startup.
Removing the bad file corrected the issue.
 

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