New to vba Learning through book problem

Hi all,

I just started with vba. I have the "Learning Microstation VBA" book from Bently. I am running into a problem with an example in the book. I am posting the code below. The problem is when I go to run the macro there is no macro name displayed in the dialog (second screenshot). Can anyone tell me where the problem is?