Hi,
As this issue, first we can create some macros to open the files. The code is following:
Sub openExcel1()
Dim xlApp
Set xlApp = CreateObject("Excel.application")
xlApp.Visible = True
xlApp.workbooks.Open "C:\Book1.xls"
End Sub
Note: please change the
path of the file in the code.
Then click
File tab->Options->Customize Ribbon.
In the right, choose
Macros in the “Choose commands from:” .In the “Customize the Ribbon:” part, click “New Tab” button, rename the tab and the Group, then
Add the macros to the Group.


Jaynet Zhang
TechNet Community Support
