Created
February 19, 2017 06:15
-
-
Save ndthanh/9c8668b9fdced993008384085b2a59e5 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 Sample() | |
Dim Ret | |
Ret = IsWorkBookOpen("C:\hocexcelonline.xlsx") | |
If Ret = True Then | |
MsgBox "File is open" | |
Else | |
MsgBox "File is Closed" | |
End If | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment