Skip to main content

AccessTr.neT


Refedit Kullanımı

Refedit Kullanımı

Çözüldü #1
Bu kodu anlyamadım ne işe yarıyor

Private Sub CommandButton1_Click()
'clicking on command button performs action on selected range in RefEdit control:

Dim strAddress As String

'select range in RefEdit control
strAddress = RefEdit1.Value

'enter text & background color in selected range
Range(strAddress).Value = "Hello"
Range(strAddress).Interior.Color = RGB(255, 0, 0)

'click yes to close UserForm and no to continue with another selection
If MsgBox("Action Performed, Exit?", vbQuestion + vbYesNo) = vbYes Then
Unload Me
End If

End Sub
@benbendedeilem
Cevapla
#2
RefEdit belli bir bölgedeki tüm hücreleri temsil eder, kodda seçili bölgeyi alıp hello yazip ardalanin rengini degistirdikten sonra onaylarsak foemu kapatir
Cevapla
#3
Benim bildiğim refedit aynen textbox,combobox vs...gici nesnedir.
Ve hücre aralığı felan seçtirilir

Videodaki gibi bişey.

https://youtu.be/jnF2nfUYfZg
Cevapla
#4
Teşekkürler arkadaşlar
@benbendedeilem
Cevapla
#5
Teşekkürler @feraz bey
Cevapla
#6
Rica ederim ikinizede.
Cevapla

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da
Task