Solved

VB.net Excel Add-In msoControlPopup is not declared

Posted on 2014-10-29
2
227 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:murbro
[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:murbro
ID: 40410856
Thanks very much
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Read top line from CSV file 14 60
Excel VBA Script 9 58
Assigning multiple macro in one command button 9 29
VBA Lookup Problem 2 15
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.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

752 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