Forum Discussion
vajindarladdad
9 years agoFrequent Contributor
Hi,
I am assuming that you have mapped the ribbon.
Can you please try below code.
Sub Test1
Dim myControl
Set myControl = Aliases.MyApp.MyAppDocument.MyAppRibbon
Call myControl.Edit.Click()
Call myControl.Data.Click()
End Sub
Here myControl is the declared working as a ribbon control and "Edit" and "Data" are the tab names.
Please let us know , if this code does not work.