Solved

EXCEL MYSQL ADD-IN, VB MACRO

Posted on 2014-01-03
5
593 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
  • 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 42

Accepted Solution

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

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 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.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

778 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