commandbar control works on some computers, not others

J

josh

I have written code to display a menu item on the right-click menu. It works
on my pc and numerous others throughout the company, but some other pc's
don't show the menu item when they right click. All of my other code is
working perfectly on all pc's, but for some reason this right click menu item
is giving me trouble. I've ruled out different versions of Office as the
problem. I am using the following set statement and then listing out the
caption, face id, etc.:

Set cBut = Application.CommandBars(39).Controls.Add(temporary:=True)

Anyone have any ideas???
 

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

Top