ChaptER Pro Gram SEcREt Message

Secret Message uses built-in VBA functions to build a fun encryption program. Moreover, the Secret Message program uses string-based functions such as Len and Mid and conversion functions Asc and Chr to encrypt and decrypt messages. Figures 5.15 and 5.16 depict sample input and output from the Secret Message program.

Controls and properties to build the Secret Message program are described in Table 5.8.

All of the code required to build the Secret Message program is shown next.

Option Compare Database Option Explicit

Using chapter-based concepts to build the

Secret Message program.

Using chapter-based concepts to encrypt a message with the

Secret Message program.

Table 5.8 Controls and Properties of the Secret Message Program



Property Value



Chapter Program

0 0

Post a comment