- Katılım
- 25 May 2018
- Mesajlar
- 1,610
- En iyi yanıt
- 14
- Puanları
- 113
- Konum
- İstanbul
- Web sitesi
- excelarsivi.com
- Ad Soyad
- Murat OSMA
- Office Vers.
- Microsoft 365 TR+EN
İlgili sayfadaki E1:F10 hücre aralığı haricinde mouse ikonu (cursor) görünmesin isterseniz bu kodları kullanabilirsiniz.
Module kodları
Sayfa kodları
Module kodları
PHP:
#If VBA7 And Win64 Then
Declare PtrSafe Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
#Else
Public Declare Function ShowCursor Lib "USER32" (ByVal fShow As Integer) As Integer
#End If
PHP:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Target, Range("E1:F10")) Is Nothing Then
While ShowCursor(False) >= 0: Wend
Else
While ShowCursor(True) < 0: Wend
End If
End Sub