10 messages in org.openoffice.fr.progRe: [prog] vider le presse papier
FromSent OnAttachments
Ludovic CHEVALIERMar 16, 2006 8:37 am 
christian bienassisMar 16, 2006 9:12 am 
Bernard MarcellyMar 16, 2006 12:06 pm 
oo...@volcar.orgMar 16, 2006 11:03 pm 
Laurent GodardMar 17, 2006 12:18 am 
Laurent GodardMar 17, 2006 12:30 am 
chri...@free.frMar 17, 2006 1:13 am 
Ludovic CHEVALIERMar 17, 2006 1:45 am 
Bernard MarcellyMar 17, 2006 1:56 am 
Ludovic CHEVALIERMar 17, 2006 2:20 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [prog] vider le presse papierActions...
From:oo...@volcar.org (oo@volcar.org)
Date:Mar 16, 2006 11:03:29 pm
List:org.openoffice.fr.prog

Selon christian bienassis <chri@free.fr>:

Bonjour ou plutot bonsoir, quelqu'un sait il comment vider le presse papier de windows. Lors d'une macro je fais un copier coller dans le document mais je souhaiterai vider le presse papier à l'issu ??

merci

C BIENASSIS

Bonjour Christian,

Je pense que cela pourra t'aider :

Option Explicit

Declare Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As Long Declare Function CloseClipboard Lib "user32" () As Long Declare Function EmptyClipboard Lib "user32" () As Long

Function ClipBoard_Clear() Call OpenClipboard(0&) Call EmptyClipboard Call CloseClipboard End Function

D'une manière générale il est toujours utile de se référer aux composants Windows disponibles via les API. Pour ce faire tu peux utiliser un outil comme ApiViewer disponible ici : http://www.mentalis.org/agnet/apiviewer.shtml

Une recherche sur le Net t'apportera d'autres informations/outils.

François Gatto