Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VB.net Excel Add-In msoControlPopup is not declared

Posted on 2014-10-29
2
Medium Priority
?
236 Views
Last Modified: 2014-10-29
Hi
In the following line in my VB.net Excel Add-in I get the error  "msoControlPopup is not declared"
 Globals.ThisAddIn.Application.CommandBars("Cell").Controls.Add(msoControlPopup, Id:=1)
0
Comment
Question by:Murray Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 2000 total points
ID: 40410838
It should be:

       
Globals.ThisAddIn.Application.CommandBars("Cell").Controls.Add(Type:=Microsoft.Office.Core.MsoControlType.msoControlPopup, Id:=1)

Open in new window


I believe.
0
 

Author Closing Comment

by:Murray Brown
ID: 40410856
Thanks very much
0

Featured Post

[Webinar] Protection from Cyberattacks

In this session, we’ll dive into the complexities of modern cyber threats and why only multi-vector protection can keep today’s businesses secure through the various stages of a cyberattack, across multiple vectors. Thursday September 14, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question