Hi Guru
I have custom ribbon tab in my excel 2010 & there is a Logon button under that tab..
Whenever user open the excel then it should directly run the Logon button ..
Is is possible with VBA ? Please refere attached doc
Thanks !!
Hi Guru
I have custom ribbon tab in my excel 2010 & there is a Logon button under that tab..
Whenever user open the excel then it should directly run the Logon button ..
Is is possible with VBA ? Please refere attached doc
Thanks !!
Last edited by v2k2apj; 08-22-2013 at 04:11 PM.
Hi..I got the solution & so thought to share so that it will be helpful for others..
the below code will run when excel open & it sends key ALT -> Y ->Y1 which will activiate the button..
Private Sub Workbook_Open()
Application.SendKeys "%YY1"
End Sub
refer below link for details :
http://www.excelguru.ca/blog/2008/08...on-the-ribbon/
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks