VB4 doesn't use page modules, unless you are talking about VBA CMPS Modules. The easiest way to do this would be to use CMPS, or step through Lynne's guide here - https://vborg.vbsupport.ru/showthread.php?t=228112 to convert your pages to a simple VB plugin