Leonardo,
Here is a file that uses the SELECT CASE. It is a templete for decoding and then acting on different buttons from a 16 key pad. I use it as an "INCLUDE" to add the routines to the project. Only a couple of CASEs have any meaningful actions in them at this point. Hope it helps.
Bookmarks