Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi All,
How can I validate data entry into a spreadsheet for a specific cell where an email address is typed into? One of the common errors my data capturers do is using a comma instead of a full-stop. Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() This may come close... Right-click the sheet tab, select View Code and paste the following code in the big white window... '-- Private Sub Worksheet_Change(ByVal Target As Range) If Target(1, 1).Address = Me.Range("C5").Address Then If InStr(1, Target(1, 1).Value, ",", vbTextCompare) 0 Then MsgBox "Don't do that. " Application.Undo End If End If End Sub -- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "Rayasiom" wrote in message Hi All, How can I validate data entry into a spreadsheet for a specific cell where an email address is typed into? One of the common errors my data capturers do is using a comma instead of a full-stop. Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Jim,
Thanks - it does work. "Jim Cone" wrote: This may come close... Right-click the sheet tab, select View Code and paste the following code in the big white window... '-- Private Sub Worksheet_Change(ByVal Target As Range) If Target(1, 1).Address = Me.Range("C5").Address Then If InStr(1, Target(1, 1).Value, ",", vbTextCompare) 0 Then MsgBox "Don't do that. " Application.Undo End If End If End Sub -- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "Rayasiom" wrote in message Hi All, How can I validate data entry into a spreadsheet for a specific cell where an email address is typed into? One of the common errors my data capturers do is using a comma instead of a full-stop. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
validate duplicate entry in a column | Excel Discussion (Misc queries) | |||
send wkbk as an email attachment with an email address copied from | Excel Discussion (Misc queries) | |||
Validate in WS to prevent dual data entry | Excel Worksheet Functions | |||
Validate MsgBox Entry to Data in Cells | Excel Discussion (Misc queries) |