I am using the following code to hide all of the Toolbars and Menu Bar.
For i = 1 To Application.CommandBars.Count
Set objOnMenu = Application.CommandBars(i)
objOnMenu.Enabled = False
Next i
This works fine in Access 2000 but when I convert it to be used in Access 97 the users are getting a compile error saying that the project or library cannot be found.
I have checked the references and they seem ok.
Any ideas would be greatly appreciated ??
John.
For i = 1 To Application.CommandBars.Count
Set objOnMenu = Application.CommandBars(i)
objOnMenu.Enabled = False
Next i
This works fine in Access 2000 but when I convert it to be used in Access 97 the users are getting a compile error saying that the project or library cannot be found.
I have checked the references and they seem ok.
Any ideas would be greatly appreciated ??
John.