AccessTr.neT
Refedit Kullanımı - Baskı Önizleme

+- AccessTr.neT (https://accesstr.net)
+-- Forum: Microsoft Excel (https://accesstr.net/forum-microsoft-excel.html)
+--- Forum: Excel Cevaplanmış Soruları (https://accesstr.net/forum-excel-cevaplanmis-sorulari.html)
+--- Konu Başlığı: Refedit Kullanımı (/konu-refedit-kullanimi.html)



Refedit Kullanımı - accessman - 12/01/2020

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



RE: Refedit Kullanımı - berduş - 01/06/2020

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


RE: Refedit Kullanımı - feraz - 01/06/2020

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


RE: Refedit Kullanımı - accessman - 01/06/2020

Teşekkürler arkadaşlar


RE: Refedit Kullanımı - berduş - 01/06/2020

Teşekkürler @feraz bey


RE: Refedit Kullanımı - feraz - 01/06/2020

Rica ederim ikinizede.