Error with Word Macros

G

Guest

I wonder if someone might have an answer to what is a very annoying problem.
For a long time I have used Word macros for common tasks I do (in particular,
inserting various OLE objects into documents). However, lately the macros
(it seems) have become corrupted. In particular, if I launch Equation Editor
via my macro, occasionally (perhaps 1 in 5 times) the text will become
garbled, and the program will behave (quite strangely!) as though the Control
key is constantly down ... so for example if I type just 'q', it will bring
up the Quit dialog box. If I do not use the macro (if I manually insert the
OLE object from the Insert menu), it works fine. I've tried deleting the
normal.dot template, uninstalling and reinstalling Office, the works. Any
ideas? Thanks...
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?U3dhbmRvZzQ2?=,
I wonder if someone might have an answer to what is a very annoying problem.
For a long time I have used Word macros for common tasks I do (in particular,
inserting various OLE objects into documents). However, lately the macros
(it seems) have become corrupted. In particular, if I launch Equation Editor
via my macro, occasionally (perhaps 1 in 5 times) the text will become
garbled, and the program will behave (quite strangely!) as though the Control
key is constantly down ... so for example if I type just 'q', it will bring
up the Quit dialog box. If I do not use the macro (if I manually insert the
OLE object from the Insert menu), it works fine. I've tried deleting the
normal.dot template, uninstalling and reinstalling Office, the works. Any
ideas?
It sounds as if you macro may use SendKeys? That could cause odd problems.

Generally, though, your problem description isn't ringing any bells. It might
make a difference if we knew the version of Word and exactly what actions the
macro is performing (as in copy/paste the macro code into your message).

Note that the best place to pursue macro questions is in a word.vba newsgroup.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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