Skip to content

Instantly share code, notes, and snippets.

@DuongAQ
Created August 8, 2018 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DuongAQ/a23e45d6f8272de2071482e6bc0dc652 to your computer and use it in GitHub Desktop.
Save DuongAQ/a23e45d6f8272de2071482e6bc0dc652 to your computer and use it in GitHub Desktop.
Sub Open_Chrome_HEO() 'Mở trang hocexcel.online trên chrome bằng macro
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" 'Tên đường dẫn tới chương trình
fileName = "chrome.exe" 'Tên chương trình
Shell Dir & "\" & fileName & " https://hocexcel.online/" 'Lệnh mở trình duyệt và dẫn tới trang web chỉ định
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment