msgbox

Katılım
18 Ocak 2007
Mesajlar
136
Excel Vers. ve Dili
2003 türkçe
merhaba msgbox mesaj kutusunun rengini değiştirebilirmiyiz
 

Levent Menteşoğlu

Administrator
Yönetici
Admin
Katılım
13 Ekim 2004
Mesajlar
16,058
Excel Vers. ve Dili
Excel 2010-32 bit-Türkçe
Excel 365 -32 bit-Türkçe
Değiştiremezsiniz.
 

Mahmut Kök

Özel Üye
Katılım
14 Temmuz 2006
Mesajlar
878
Excel Vers. ve Dili
Excel 2007 - Türkçe
Renkli olması için kullanıcı önyüzü (userform) kullanabilirsiniz; ancak iletikutusu'na (msgbox) göre daha karmaşık gelebilir, evet-hayır gibi kullanımlar için kod eklemeniz gerekir.
 
Katılım
16 Ocak 2007
Mesajlar
7
Excel Vers. ve Dili
office xp
evet degistirebilirsin al bunu kullan degerli dostum

Private Sub form_Timer () ' In Microsoft Access 2.0, the word
' "Private" will not appear in this
' line of the code.

Dim lngYellow As Long, lngWhite As Long
On Error GoTo Errhandler
lngYellow = RGB(255, 255, 0) 'Set lngYellow variable for
'yellow color.
lngWhite = RGB(255, 255, 255) 'Set lngWhite variable for white
'color.

If Screen.ActiveControl.Name <> myctrname Then ' If active
' control not
' equal to
' myctrname do
' next line.
Me(myctrname).BackColor = lngWhite ' Set myctrname
' variable to white
' BackColor.
Screen.ActiveControl.BackColor = lngYellow ' Set active color
' BackColor to
' yellow.
myctrname = Screen.ActiveControl.Name ' Set myctrname
' variable to
' active control
' name.
End If

Exit Sub

Errhandler:
If Err = 2465 Then ' If error is 2465 which is "Object-defined
' error."
Resume Next ' Resume running on next line after error.
ElseIf Err = 2474 Then ' If error is 2474 which is "No Control is
' active."
Resume Next
Else
MsgBox Err & " " & Error ' Show Error number and string of error
' value.
Exit Sub
End If

End Sub
 
Katılım
16 Ocak 2007
Mesajlar
7
Excel Vers. ve Dili
office xp
ama sadece msgbox icin su renkler degisebilir

1. Tittle
2. Icon
3. Buttons
4. Default Button
5. Message (of course )

1.Baslik
2.Ikon
3.Tuslar\\
4.Extra tuslar
5.En extra tuslar :D
 
Üst