Rebonjour
Modification de son code pour le coller en A1:
Option Explicit
Private Declare Sub keybd_event Lib 'user32' ( _
ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, _
ByVal dwExtraInfo As Long)
Private Declare Function ShellExecute Lib 'shell32.dll' Alias 'ShellExecuteA' _
(ByVal hwnd As Long, ByVal lpOperation As String, _
ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Sub CommandButton1_Click()
'test WinXP & Excel2002
keybd_event vbKeySnapshot, 1, 0&, 0&
DoEvents
Application.ScreenUpdating = True
Range('A1').Select
ActiveSheet.Paste
Selection.Name = 'Temp'
Application.ScreenUpdating = True
'-------------------------------------------------------------
'option pour les utilisateur de Windows XP :
'visualisation de l'image créée avec avec l'apercu images_telecopies Windows
'testé avec Excel2002 et WinXP
'ShellExecute 0, 'open', 'rundll32.exe', _
''C:\\WINDOWS\\System32\\shimgvw.dll,ImageView_Fullscreen ' & 'C:\\monImage.gif', 0, 1
End Sub
A+
Temjeh