How to Open Another App from Excel

How to open another app from Excel like the calculator or MS Access automatically with VBA. We can open the Calculator, MS Access, MS PowerPoint, etc from within an Excel worksheet. This can be quite convenient.
Watch the video:

Watch this video on YouTube.

Here’s the complete VBA code to launch another Microsoft App from Excel:

Sub OpenMSApps()
Dim i As Integer

i = InputBox(“Enter the application you wish to open – use 0 for calculator, 1 for Word, 2 for powerPoint, 3 for Outlook, 4 for Access”)

Application.ActivateMicrosoftApp Index:=i

End Sub