The only ways to protect individual macros are to use the Hidden property (Chapter 3) or to use workgroup security (Chapter 8 and the section the section "A Workgroup Security Refresher" earlier in this chapter). If you are not using workgroup security to protect macros, your only option is to convert them to VBA code, which you can do by following these steps:
Open the Database window and select Macros so that you can see all the macros.
Select the macro that you want to convert.
Right-click the macro and choose Save As.
Choose Module.
Please note that the MDE database format does not protect macros. Now I will show you how you can protect your VBA code.