- Katılım
- 26 Eylül 2020
- Mesajlar
- 171
- Excel Vers. ve Dili
- excel 2019 pro.Türkçe
- Altın Üyelik Bitiş Tarihi
- 26-09-2021
Sheets("Anasayfa").TextBox6.Text = ""
If OptionButton1.Value = True Then
Sheets("Anasayfa").TextBox6.Text = Label1.Caption
Else
If OptionButton2.Value = True Then
Sheets("Anasayfa").TextBox6.Text = Label2.Caption
Else
End If
End If
Koduyla Optionbutton değerlerini textboxa yazdırıyorum ama yapmak istediğim optionbutton2 değerini textbox6 'nın bir alt satırına -üstdeki değeri bozmadan- yazdırmak.Vbcrlf komutu ile yapıldığını biliyorum ama koda uyarlayamadım.
If OptionButton1.Value = True Then
Sheets("Anasayfa").TextBox6.Text = Label1.Caption
Else
If OptionButton2.Value = True Then
Sheets("Anasayfa").TextBox6.Text = Label2.Caption
Else
End If
End If
Koduyla Optionbutton değerlerini textboxa yazdırıyorum ama yapmak istediğim optionbutton2 değerini textbox6 'nın bir alt satırına -üstdeki değeri bozmadan- yazdırmak.Vbcrlf komutu ile yapıldığını biliyorum ama koda uyarlayamadım.