insert shape with macro

M

Maxime Maugeais

Good day,

I am trying to see if we can insert a rectangular shape using a macro.

I've posted this same question a few weeks ago, and someone was kind enough
to reply. But there answer was not quite what I was looking for.

The code they provide specified the coordinates where the shape was inserted.

Given that my file is a 20 feet long calendar, I would like the shape to be
insert in the section that the user is seeing. Or where the user just
clicked.

Ideally, the macro would have a shortcut. So when the user hits CTRL+Q this
would add a rectangle with height =3 width =10 in the section of the page
that is currently beeing viewed.


Can anyone help?

Many 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