Hi All,
I am trying to run some code on start up. I have created the code as a Public Function in a Module. I then created a Macro and named it AutoExec. What I cant work out is when I choose Run Code it asks for the Function name, which I add. On opening I get the error 'Microsoft access cannot find the name 'LogIt' you entered in the expression.
Can someone please tell me where I am going wrong.
Regards
NOTE: Sorry everyone. I forgot the brackets when naming teh function. It's a dumb day for me.
I am trying to run some code on start up. I have created the code as a Public Function in a Module. I then created a Macro and named it AutoExec. What I cant work out is when I choose Run Code it asks for the Function name, which I add. On opening I get the error 'Microsoft access cannot find the name 'LogIt' you entered in the expression.
Can someone please tell me where I am going wrong.
Regards
NOTE: Sorry everyone. I forgot the brackets when naming teh function. It's a dumb day for me.
Last edited: