Hi Guys, Thanks for the posts.
Ed... I had to post this from one of my colleges as he cannot post to the list. I think it's because he is not subscribed as we have only 1 subscription and this puts the mail into a public folder on our exchange server. His email address is [EMAIL PROTECTED] Any chance you could add him to the white list? Thanks Ed Tristan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sietse Wijnker Posted At: 19 February 2007 16:34 Posted To: Profox Archive Conversation: Clearing the Word Clipboard Subject: RE: Clearing the Word Clipboard Hi, Depending to the amount of customization in the toolbars the following should work: ox.CommandBars("Clipboard").Controls(4).Execute Where ox is a reference to any Office COM-reference like Word.Application or Excel.Application I would recommend not using such a hard reference but would search for the correct button like this: #DEFINE msoControlButton = 1 oy = ox.CommandBars.FindControl(msoControlButton, 3634) IF VARTYPE(oy) = "O" oy.Execute() ENDIF Regards, Sietse Wijnker -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Davies Sent: maandag 19 februari 2007 16:07 To: [EMAIL PROTECTED] Subject: Re: Clearing the Word Clipboard Hi, I haven't worked with Word automation but I have done some with Excel - in Excel if you rely on the macro editor you end up using the clipboard for stuff, but this is deprecated - the recommendation is to use the api directly. Word is probably similar. otoh you could try disabling the multiple clipboard in Word and then use _cliptext in fox to manipulate the normal clipboard. Andrew Davies MBCS CITP - AndyD 8-)# ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. Please contact [EMAIL PROTECTED] with any queries. ********************************************************************** [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.