View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jenovauh Jenovauh is offline
external usenet poster
 
Posts: 1
Default Data validation, mandatory and restricted field length for excel vbs

Hi Guys, I would like to find out how to make use of excel vba to make
cells mandatory, restricted field length and also input pattern before
file can be save.

Like a cell is only allow to have 8 alphanumeric field length,
starting first 2 character must be AB or SB and the last character
have to be C or S. Another cell is only allow to have 6 (5 numeric and
1 alphanumeric on the last character) field length.

Any help would be appreciated. Thanks everyone.