"Click and Drag" User Forms in VBA

J

jasleechen

Hi -

I am seeking to build a PowerPoint add-in that will construct shapes
within a user-specified region on a slide. Ideally, when the add-in
is executed, it will open a user form containing a button that when
pressed would revert focus back to the slide view panel and allow the
user to click and drag to specify the target area.

The add-in would then retrieve the width, height, left position and
top position of that area and construct the shapes within it.

I have not been able to find libraries, objects or methods that
support this 'click/drag' functionality. Is this even possible within
PowerPoint and, if so, could you suggest a good starting point? I
would imagine it would work similarly to the "Function Arguments"
dialog box in MS Excel (e.g. when setting ranges in the MS Excel
function wizards).

Thanks in advance for your help.

P.S. Apologies if this is a repost - I have not found any similar ones
elsewhere.
 

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