AccessTr.neT

Tam Versiyon: Refedit Kullanımı
Şu anda arşiv modunu görüntülemektesiniz. Tam versiyonu görüntülemek için buraya tıklayınız.
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
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
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
Teşekkürler arkadaşlar
Teşekkürler @feraz bey
Rica ederim ikinizede.