A voir également:
- Zoom image au passage de la souris excel
- Liste déroulante excel - Guide
- Quelle touche pour débloquer la souris ? - Guide
- Word et excel gratuit - Guide
- Comment calculer la moyenne sur excel - Guide
- Si ou excel - Guide
2 réponses
j'ai trouvé un début de macro mais le zoom rétrécie au lieu d'agrandir et cela ce fait avec un clic au lieu du passage de la souris
Sub rg_hi_Clic()
With ActiveSheet.Shapes(Application.Caller)
If .AlternativeText = "" Then
.ScaleWidth 2, msoFalse, msoScaleFromTopLeft
.ScaleHeight 2, msoFalse, msoScaleFromTopLeft
.AlternativeText = "zoom"
Else
.ScaleWidth 0.5, msoFalse, msoScaleFromTopLeft
.ScaleHeight 0.5, msoFalse, msoScaleFromTopLeft
.AlternativeText = ""
End If
End With
End Sub
si quelqu'un peut m'aider a la modifier merci
en faite j'ai trouvé pour agrandir mais il me reste au passage de la souris
Sub rg_hi_Clic()
With ActiveSheet.Shapes(Application.Caller)
If .AlternativeText = "" Then
.ScaleWidth 0.5, msoFalse, msoScaleFromTopLeft
.ScaleHeight 0.5, msoFalse, msoScaleFromTopLeft
.AlternativeText = "zoom"
Else
.ScaleWidth 2, msoFalse, msoScaleFromTopLeft
.ScaleHeight 2, msoFalse, msoScaleFromTopLeft
.AlternativeText = ""
End If
End With
End Sub
Sub rg_hi_Clic()
With ActiveSheet.Shapes(Application.Caller)
If .AlternativeText = "" Then
.ScaleWidth 2, msoFalse, msoScaleFromTopLeft
.ScaleHeight 2, msoFalse, msoScaleFromTopLeft
.AlternativeText = "zoom"
Else
.ScaleWidth 0.5, msoFalse, msoScaleFromTopLeft
.ScaleHeight 0.5, msoFalse, msoScaleFromTopLeft
.AlternativeText = ""
End If
End With
End Sub
si quelqu'un peut m'aider a la modifier merci
en faite j'ai trouvé pour agrandir mais il me reste au passage de la souris
Sub rg_hi_Clic()
With ActiveSheet.Shapes(Application.Caller)
If .AlternativeText = "" Then
.ScaleWidth 0.5, msoFalse, msoScaleFromTopLeft
.ScaleHeight 0.5, msoFalse, msoScaleFromTopLeft
.AlternativeText = "zoom"
Else
.ScaleWidth 2, msoFalse, msoScaleFromTopLeft
.ScaleHeight 2, msoFalse, msoScaleFromTopLeft
.AlternativeText = ""
End If
End With
End Sub