Solved

VB.net Excel Add-In msoControlPopup is not declared

Posted on 2014-10-29
2
232 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 500 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

636 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