CommandButton'a iki isim ek.

Katılım
13 Temmuz 2005
Mesajlar
19
merhaba
"Caption : Aç" artı mouse ile üstüne gelindiğinde "Aç" yazısı gitsin, yerine "Tıkla" yazısı gelsin.
 

Levent Menteşoğlu

Administrator
Yönetici
Admin
Katılım
13 Ekim 2004
Mesajlar
16,057
Excel Vers. ve Dili
Excel 2010-32 bit-Türkçe
Excel 365 -32 bit-Türkçe
Aşağıdaki kodları deneyin.

[vb:1:f19f5848a0]Private Sub CommandButton1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
CommandButton1.Caption = "TIKLA"
End Sub
Private Sub UserForm_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
CommandButton1.Caption = "AÇ"
End Sub
[/vb:1:f19f5848a0]
 
Üst