/  30
 
Registration Valid? Check Formatted
SBS9101J #VALUE! #VALUE! #VALUE!
 This spreadsheet contains Microsoft Visual Basic code to calculate and validate the cshould be compatible with all versions of Microsoft Excel from 1997 to 2007. The "Test" worksheet is a simple test example. Type a Registration in cell A2. The "Vashow the calculated chect character. The Formatted value shows the Registration yo The Visual Basic Module contains the following routines:
Public Function SGPCheckCharacter(ByVal varRegistration As Variant) As S
' Calculate the check character for a Singapore vehicle registration.e.g. SGPCheckCharacter("SFP1001") = "K"
Public Function ValidateSGPRegistration(ByVal varRegistration As Variant)
' Validate a Singapore registratione.g. ValidateSGPRegistration("SFP1001K") = TRUE, ValidateSGPRegistration("SFP100
Public Function NormalizeSGPRegistration(ByVal varRegistration As Varian
' Convert a Singapore registration number to a standard form: AAAnnnnB with' leading zeroes on the numeric part and leading spaces on the alphabetic part.e.g. NormalizeSGPRegistration("FP1S") = " FP0001S" This program is free software: you can redistribute it and/or modify it under the terSoftware Foundation, either version 3 of the License, or (at your option) any later ve This program is distributed in the hope that it will be useful, but WITHOUT ANY WARFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License on sheetGNU General Public License along with this program. If not, see <http://www.gnu.orgIan Fuller (ifuller at yahoo dot com)
 
heck character on Singapore vehicle registraion (license) plates. Itlid?" value will be either TRUE or FALSE. The "Check" value willentered in a standard format for analysis.
ringAs Boolean
1L) = FALSE.
) As String
s of the GNU General Public License as published by the Freesion.ANTY; without even the implied warranty of MERCHANTABILITY or"License" for more details. You should have received a copy of the/licenses/>.
 
GNU GENERAL PUBLIC LICENSEVersion 3, 29 June 2007Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>Everyone is permitted to copy and distribute verbatim copiesof this license document, but changing it is not allowed.PreambleThe GNU General Public License is a free, copyleft license forsoftware and other kinds of works.The licenses for most software and other practical works are designedto take away your freedom to share and change the works. By contrast,the GNU General Public License is intended to guarantee your freedom toshare and change all versions of a program--to make sure it remains freesoftware for all its users. We, the Free Software Foundation, use theGNU General Public License for most of our software; it applies also toany other work released this way by its authors. You can apply it toyour programs, too.When we speak of free software, we are referring to freedom, notprice. Our General Public Licenses are designed to make sure that youhave the freedom to distribute copies of free software (and charge forthem if you wish), that you receive source code or can get it if youwant it, that you can change the software or use pieces of it in newfree programs, and that you know you can do these things.To protect your rights, we need to prevent others from denying youthese rights or asking you to surrender the rights. Therefore, you havecertain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.For example, if you distribute copies of such a program, whethergratis or for a fee, you must pass on to the recipients the samefreedoms that you received. You must make sure that they, too, receiveor can get the source code. And you must show them these terms so theyknow their rights.Developers that use the GNU GPL protect your rights with two steps:(1) assert copyright on the software, and (2) offer you this Licensegiving you legal permission to copy, distribute and/or modify it.For the developers' and authors' protection, the GPL clearly explainsthat there is no warranty for this free software. For both users' andauthors' sake, the GPL requires that modified versions be marked aschanged, so that their problems will not be attributed erroneously toauthors of previous versions.Some devices are designed to deny users access to install or run

Share & Embed

More from this user

Add a Comment

Characters: ...