Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Is there anyway to create an input mask or format check in Excel using VBA? I need to validate the entry postcodes on a spreadsheet. Mark |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
http://www.cpearson.com/excel/events.htm
see the Worksheet Change event. -- Regards, Tom Ogilvy "Mark Harrison" wrote in message ... Hi Is there anyway to create an input mask or format check in Excel using VBA? I need to validate the entry postcodes on a spreadsheet. Mark |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you for your help, it has given me a start, however I am still unable
to create an input mask, I need to check that the first two characters in the cell are letters and that the next character is to be a number, and so on, is it possible to do that? Mark "Tom Ogilvy" wrote in message ... http://www.cpearson.com/excel/events.htm see the Worksheet Change event. -- Regards, Tom Ogilvy "Mark Harrison" wrote in message ... Hi Is there anyway to create an input mask or format check in Excel using VBA? I need to validate the entry postcodes on a spreadsheet. Mark |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Have you looked at Data=Validation and use the custom formula approach?
My previous suggestion would have used the change event (target holds a reference to the cell triggering the event), to examine the contents of the cell and react accordingly. -- Regards, Tom Ogilvy "Mark Harrison" wrote in message ... Thank you for your help, it has given me a start, however I am still unable to create an input mask, I need to check that the first two characters in the cell are letters and that the next character is to be a number, and so on, is it possible to do that? Mark "Tom Ogilvy" wrote in message ... http://www.cpearson.com/excel/events.htm see the Worksheet Change event. -- Regards, Tom Ogilvy "Mark Harrison" wrote in message ... Hi Is there anyway to create an input mask or format check in Excel using VBA? I need to validate the entry postcodes on a spreadsheet. Mark |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Time Input Mask | Excel Discussion (Misc queries) | |||
Input Mask for Dates | Excel Discussion (Misc queries) | |||
Input Mask | Excel Worksheet Functions | |||
Input Mask | New Users to Excel | |||
Mask input in input boxes? | Excel Programming |