how do i copy All of the document except my activex ctrl

J

JDog

i have insert a activex ctrl into a Word document
and then

Selection.WholeStory
Selection.Copy

i don't want to copy the activex ctrl,
what can i do?
 
J

JDog

Thank you !

Is there any way to forbidden selecting or copying the Activex ctrl?
Because it has exception when undo the deleting of the ctrl.

I insert the ctrl like this:

Dim insp AS InlineShape
Dim sp As Shape

set insp = ActiveDocument.InlineShapes.AddOleCtrl ("MyOle.Ctrl")
set sp = insp.ConvertToShape
sp.Name = "MyCtrl01"
 

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