Pass Parameter

I have writing some VBA on microsoft application,every time i open the file it will ask wheather want to enable or disable the macro.When the user click on the attachment on notes document,can i passing some value to enable the macro and how to pass that value ?

Thank a Lot !