Solved

EXCEL MYSQL ADD-IN, VB MACRO

Posted on 2014-01-03
5
628 Views
Last Modified: 2014-01-06
Say,

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

http://www.mysql.com/why-mysql/windows/excel/edit/

Can I execute a macro to make the MySQL for Excel icon visible.
0
Comment
Question by:shaunwingin
[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
  • 2
5 Comments
 
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
0
 

Author Comment

by:shaunwingin
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...
0
 
LVL 43

Accepted Solution

by:
Rob 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

0
 

Author Closing Comment

by:shaunwingin
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?
0
 
LVL 43

Expert Comment

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

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