This is VBA for Access that's stored in a module in an excel workbook?
I'd be very surprised that you could even get the code to compile in excel...
I don't speak the Access, but couldn't you keep the code there and run it from
Excel?
MarkS wrote:
>
> Hi,
>
> I want to run a access macro which is in a module for Excel. I have tried
> aAccess.DoCmd.RunMacro "GetNewAFMAGreen" which gives me a error - Microsoft
> Access can't find the macro 'GetNewAFMAGreen.'@
> What do I do now to run it
>
> Thanks MarkS
--
Dave Peterson
|