Solved

EXCEL MYSQL ADD-IN, VB MACRO

Posted on 2014-01-03
5
566 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Unfortunately not... I think that's the best you're going to get at this stage.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

763 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

10 Experts available now in Live!

Get 1:1 Help Now