S
skunjur
Hi Guys,
Is there a code to run a macro I have in an external database from my
current database. I tried to use the RunMacro method after connecting to the
external database and it wouldn't work.
Here is the code I am using. Any help would be greatly appreciated.
Sham
Set CubeCalcDb = OpenDatabase(FileName)
With CubeCalcDb
DoCmd.RunMacro "003_Calculate_Cube"
End With
Is there a code to run a macro I have in an external database from my
current database. I tried to use the RunMacro method after connecting to the
external database and it wouldn't work.
Here is the code I am using. Any help would be greatly appreciated.
Sham
Set CubeCalcDb = OpenDatabase(FileName)
With CubeCalcDb
DoCmd.RunMacro "003_Calculate_Cube"
End With