OK two hours of zero progress and I'm now ready to kill.
All I'm attempting to do is create a single command macro to run a piece of VB code.
Creating a new macro, selecting runcode, entering the module name with () at the end and saving.
The module is visible in Access and has a unique name (newsemailcode).
The module runs as it should in VB editor, but as soon as I run the macro in Access I get "the expression you entered has a function name that microsoft office access can't find".
The DB is just new, created today, the name is unique and not the same as a VB command etc. the db is in a trusted zone and I'm the network admin.
According to every help I've read this is the easiest thing in the world and I'm about to lose my mind trying to do this.
Any help very greatfully recieved. thanks
All I'm attempting to do is create a single command macro to run a piece of VB code.
Creating a new macro, selecting runcode, entering the module name with () at the end and saving.
The module is visible in Access and has a unique name (newsemailcode).
The module runs as it should in VB editor, but as soon as I run the macro in Access I get "the expression you entered has a function name that microsoft office access can't find".
The DB is just new, created today, the name is unique and not the same as a VB command etc. the db is in a trusted zone and I'm the network admin.
According to every help I've read this is the easiest thing in the world and I'm about to lose my mind trying to do this.
Any help very greatfully recieved. thanks