Illegal PUBLIC declaration of: <name>

You declared the Initialize or Terminate sub as Public. The Initialize and Terminate subs may not be declared as Public.

Remove Public from the declaration of the sub.