FIXED:
I was navigating previously to program files/microsoft office/ and did not find the correct files to fix the problem. I was able to add the reference below and everything is working again.
ReferenceFromFile "C:\Program Files\Common Files\Microsoft Shared\OFFICE12\MSO.DLL"
Thanks for the quick response. I do not have the 14.0 references there. I deleted them because they were missing. Is there a way I can add the 14.0 reference? I am using Access 2003 so I did not think I needed the 14.0 library.
I am trying to run the code below but as soon as I start debugging the following message appears. I have checked and there appear to be no missing references. When the message appears 'cMenu1 As CommandBarControl' is highlighted blue in the code. Does anyone know the problem here? Thanks for...