Excel 2013 on Windows 7.
My users are complaining that there are too many steps to take every time they want to run a PowerPivot query.
PowerPivot --> Manage (data model) --> Get External Data --> From Database --> From SQL Server --> Select ServerName + choose "Use SQL Server Authentication [Enter Login and Password] + Select DataBase Name --> Next
They have to perform all of these actions to get to the point where they are able to select the Query that they want to run. They have requested that we provide a button that automatically logs them in and gets to the point (as indicated in the list above).
I have only been successful in using SendKeys to open the first PP menu - Manage. But I don't know how to 'click' the next menu buttons in order to proceed.
I've tried using CommandBars.ExecuteMso "Manage" -- but I don't know is the right way to proceed -- and I am getting syntax errors (Don't know how to implement ExecuteMso).
Can someone provide a cod example showing how to accomplish this?
My users are complaining that there are too many steps to take every time they want to run a PowerPivot query.
PowerPivot --> Manage (data model) --> Get External Data --> From Database --> From SQL Server --> Select ServerName + choose "Use SQL Server Authentication [Enter Login and Password] + Select DataBase Name --> Next
They have to perform all of these actions to get to the point where they are able to select the Query that they want to run. They have requested that we provide a button that automatically logs them in and gets to the point (as indicated in the list above).
I have only been successful in using SendKeys to open the first PP menu - Manage. But I don't know how to 'click' the next menu buttons in order to proceed.
I've tried using CommandBars.ExecuteMso "Manage" -- but I don't know is the right way to proceed -- and I am getting syntax errors (Don't know how to implement ExecuteMso).
Can someone provide a cod example showing how to accomplish this?
Last edited: