zulfuernek
Altın Üye
- Katılım
- 24 Haziran 2017
- Mesajlar
- 761
- Excel Vers. ve Dili
- türkçe
TextBox1 ve Button1 var;
TextBox1 e tarih yazıyorum.
TARİH FORMÜLÜM:
If TextBox1.Tag = "1" = True Then Exit Sub
If Len(TextBox1) = 2 Then
If InStr(TextBox1, ".") = 0 Then TextBox1 = TextBox1 & "."
ElseIf Len(TextBox1) = 5 Then
If Len(TextBox1) - Len(Application.Substitute(TextBox1, ".", "")) < 2 Then
TextBox1 = TextBox1 & "."
End If
Ben 01012017 yazıyorum ve otomatik olarak anında 01.01.2017 gibi görünüyor. buraya kadar sorunum yok.
Şimdi gelelim bununl ilgili sorum
TextBox1 = 10 karakter oluşunca Button1 aktif olmalı, değilse pasif olmalı.
TextBox1 e tarih yazıyorum.
TARİH FORMÜLÜM:
If TextBox1.Tag = "1" = True Then Exit Sub
If Len(TextBox1) = 2 Then
If InStr(TextBox1, ".") = 0 Then TextBox1 = TextBox1 & "."
ElseIf Len(TextBox1) = 5 Then
If Len(TextBox1) - Len(Application.Substitute(TextBox1, ".", "")) < 2 Then
TextBox1 = TextBox1 & "."
End If
Ben 01012017 yazıyorum ve otomatik olarak anında 01.01.2017 gibi görünüyor. buraya kadar sorunum yok.
Şimdi gelelim bununl ilgili sorum
TextBox1 = 10 karakter oluşunca Button1 aktif olmalı, değilse pasif olmalı.
Son düzenleme:
