Can the Office Clipboard be cleared using VBA in PowerPoint?

  • Thread starter Thread starter david.f.jenkins
  • Start date Start date
D

david.f.jenkins

Pretty much says it all. I think we've installed some add-ins that
are putting unexpected things in the clipboard. *Our* add-in would
like to clear the clipboard, but I can't figure out how. I can do it
manually, but when I attempt to create a macro from the steps to do
that, it ends up empty. WTH?

As an allied question, does the order in which add-ins are listed in
Tools->Add-ins define the order in which they're loaded? If so, then
it wouldn't do much good to code the vba if our add-in was loaded
before the one leaving its tracks in the clipboard, would it?
 
Pretty much says it all. I think we've installed some add-ins that
are putting unexpected things in the clipboard. *Our* add-in would
like to clear the clipboard, but I can't figure out how. I can do it
manually, but when I attempt to create a macro from the steps to do
that, it ends up empty. WTH?

As an allied question, does the order in which add-ins are listed in
Tools->Add-ins define the order in which they're loaded? If so, then
it wouldn't do much good to code the vba if our add-in was loaded
before the one leaving its tracks in the clipboard, would it?

Seeing Adobe icons are ya?

What's your addin trying to do, at what point, and where's it running afoul of
what's already on the clipboard?
 
Seeing Adobe icons are ya?

What's your addin trying to do, at what point, and where's it running afoul of
what's already on theclipboard?

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================

Hi Steve:

I believe it's Shyam's Handout Wizard that's putting the icon in the
OC. I'd like to give the users of *our* add-in the option of clearing
the clipboard when our add-in is loaded, but can't figure out how.
Further, I don't know if that would do any good anyway, since I'm
guessing load order would then play a part in whether the clear would
be effective or not. I'm thinking, unless there's some easy foolproof
way around this, that we'll have to grin and bear it on this one.
Where it's most likely to cause a problem (for us) is when someone
does a Ctrl-C is some other Office app, opens up PowerPoint, and does
a Ctrl-C expecting to see what he copied from the other app. Quelle
surprise!

Any words of wisdom on this one?
 
Hi Steve:

I believe it's Shyam's Handout Wizard that's putting the icon in the
OC. I'd like to give the users of *our* add-in the option of clearing
the clipboard when our add-in is loaded, but can't figure out how.
Further, I don't know if that would do any good anyway, since I'm
guessing load order would then play a part in whether the clear would
be effective or not. I'm thinking, unless there's some easy foolproof
way around this, that we'll have to grin and bear it on this one.
Where it's most likely to cause a problem (for us) is when someone
does a Ctrl-C is some other Office app, opens up PowerPoint, and does
a Ctrl-C expecting to see what he copied from the other app. Quelle
surprise!

And even then, clearing the clipboard won't help because you'd be blowing their
content away instead of somebody else's.

I think you'll find some useful code for playing with the clipboard if you google
"clipboard Karl Peterson" but it may not be of much use when something else beats
you to the draw (or at least the load) and puts stuff on the clipboard first.
Any words of wisdom on this one?

User training? <g>

You might also google the microsoft.com newsgroups for references to the Adobe
PDFMaker add-in. ISTR a discussion of this same problem a couple years back; it
got into load order as well. Add "Jonathan West" as one of the search terms to
narrow things down to the words of a wise man.
 
[snip]
Seeing Adobe icons are ya?

How does Adobe manage to get stuff into the OC? Which app?

Ah. OC = Office Clipboard? I was thinking of the regular one.
Some versions (at least) of the PDFMaker addin toss a bitmap onto the clipboard
prior to pasting it onto a button face.
 
Back
Top