Posted on 2014-01-03
Last Modified: 2014-01-06

I'm trying to write VB code to control this add- in ... any ideas?

Can I execute a macro to make the MySQL for Excel icon visible.
Question by:shaunwingin
  • 2
  • 2
LVL 15

Expert Comment

by:Simon Ball
ID: 39754276
have you tried recording a macro of you clikcing to make it visible?  if the macro turns up emtpy, its probably going to take an API call or something heavy duty to do this with VB....

if the macro truns up some code.. then you can use that codein your VBA

Author Comment

ID: 39756413
I've tried - something was recorded but I couldn't get it to actually display the icon. Pls can you install the add-on and see what can do...
LVL 42

Accepted Solution

Rob Jurd, EE MVE earned 500 total points
ID: 39758522
I got it to show like this by just sending the keystrokes:

Sub Macro1()
' send Alt A Y 2
Application.SendKeys "%ay2"

End Sub

Open in new window


Author Closing Comment

ID: 39758603
Tx. Are you by any change able to interact with the add-in in any way - eg expand the selection or run a query?
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 39758901
Unfortunately not... I think that's the best you're going to get at this stage.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now