Created
August 8, 2018 07:11
-
-
Save DuongAQ/6bb8f308f63ffbc515b2a4791de4a9d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Open_Chrome() 'Gọi ra chương trình Chrome từ VBA Excel | |
Dim Dir As String 'Biến tên đường dẫn | |
Dim fileName As String 'Biến tên chương trình | |
Dir = "C:\Program Files (x86)\Google\Chrome\Application" 'Địa chỉ đường dẫn tới chương trình | |
fileName = "chrome.exe" 'Tên file chạy chương trình | |
Shell Dir & "\" & fileName 'Lệnh gọi chương trình Chrome | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment