- Katılım
- 7 Ağustos 2006
- Mesajlar
- 472
- Excel Vers. ve Dili
- EXCEL 2003 TÜRKÇE
merhba
ben tel1 i aşağıdaki kodla formatlıyorum
Private Sub Tel1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
If Len(tel1.Text) >= 16 Then tel1 = Left(tel1, 16)
If Len(tel1.Text) < 10 Then
tel1 = Replace(tel1, " ", "")
Else
tel1.Text = Format(tel1, "0(###) ### ## ##")
End If
End Sub
tel1 e tekrar gelince formatsız haline nasıl geri gelebilir.yani ilk yazdığım telefon yazsın orda.
ben tel1 i aşağıdaki kodla formatlıyorum
Private Sub Tel1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
If Len(tel1.Text) >= 16 Then tel1 = Left(tel1, 16)
If Len(tel1.Text) < 10 Then
tel1 = Replace(tel1, " ", "")
Else
tel1.Text = Format(tel1, "0(###) ### ## ##")
End If
End Sub
tel1 e tekrar gelince formatsız haline nasıl geri gelebilir.yani ilk yazdığım telefon yazsın orda.
