Thursday, May 8, 2014

Open any windows application by Excel Macros

Yeah any windows application can open by using Excel macros. Here i'm giving a small example Open a Google Chrome by macros.

Function AutoGChrome()

 Dim chromePath As String

  chromePath = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"

  Shell (chromePath & " -url http://www.google.com")

End Function

 This is the way we can run any windows application and we can pass values through excel .

No comments:

Post a Comment