Created
March 25, 2019 10:35
-
-
Save kerrypnx/1e606148796ae667a4b2d6d4aae75f86 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 findsciHub() | |
With Selection.Find | |
.ClearFormatting | |
.text = "sci-hub.tw" | |
.MatchWildcards = False | |
Do | |
.Execute | |
If .Found Then | |
Selection.Range.comments.add Selection.Range, "sci-hub.tw is forbidden in paper, please change." | |
Else | |
Exit Do | |
End If | |
Loop | |
End With | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment