What reference should I include? For now; msoControlPopup

J

JB

Every now and then I found an example in ms acces help file or on the
internet.
My problem is that I do not know what to include.
My current problem is to make this 2 lines to work.

Set myMenuBar = CommandBars.ActiveMenuBar
Set newMenu = myMenuBar.Controls.Add(Type:=msoControlPopup, _
Temporary:=True)

Is there a way to find this out by my self?
I dont want to have to post a question each time
nor do I thing that people here wants to read about it every time.

....I use access 2002...
 
D

Dirk Goldgar

JB said:
Every now and then I found an example in ms acces help file or on the
internet.
My problem is that I do not know what to include.
My current problem is to make this 2 lines to work.

Set myMenuBar = CommandBars.ActiveMenuBar
Set newMenu = myMenuBar.Controls.Add(Type:=msoControlPopup, _
Temporary:=True)

Is there a way to find this out by my self?
I dont want to have to post a question each time
nor do I thing that people here wants to read about it every time.

...I use access 2002...

For "mso" objects, you'll need a reference to the Microsoft Office 10.0
Object Library. This KB article may be of use to you:


http://support.microsoft.com/default.aspx?scid=kb;en-us;283115&Product=acc2002
ACC2002: References That You Must Set When You Work with Microsoft
Access
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top