Writing macros to simulate mouse functions?

L

Levi Bennett

Hi all-

I'm having problems writing general macros in word. Simple macros are
easy, but as the Record Macro function does not allow you to use your
mouse like you normally would, I'm having a hard time. Right now, I'm
trying to add to a table that looks like:
________________________________________________________________________
| 1 |_________________________________|_________________|______________|
|____|__________________________________________________________________|
| 2 |_________________________________|_________________|______________|
|____|__________________________________________________________________|

The only way I've found that works and keeps my formatting is to use
the mouse to select a single set of rows, copy, and then paste special
as HTML. Problem is, since I can't use my mouse when recording a
macro, I can't select a set of rows. Does anyone have a resource that
they could point me to as to how to write a VB script that will
emulate mouse movements. I have a feeling that for this project I'm
going to need to emulate the mouse more often than not.

Thanks
 

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