referencing selected insertion point in VBA

B

BenB

i'm trying to write a macro to automatically insert slides and maintain the
formatting. i can reference a selected slide to insert before or after. But
i don't know how to reference the space in between the slide if it is
selected to insert the slide or slides into that space. how do i check if a
space is selected and reference it?
 
B

Ben

thanks Steve,
that's really helpful - it's strange that i can't reference the selected gap
between the slides directly since selecting that gap seems to be the most
common method of choosing an insertion point...
 
S

Shyam Pillai

Ben,

While you can't get the reference point of the cursor (insertion point), you
can insert slides at the insertion point using ActiveWindow.View.Paste
assuming that the current view is slide sorter view.
 

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