vbscript 检测文章类型是否符合MDPI规定可用的

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vbscript 检测文章类型是否符合MDPI规定可用的相关的知识,希望对你有一定的参考价值。

Sub artitleTypeAllowed()
Dim arr As String
arr = "Addendum; Article; Book Review; Case report; Comment; Commentary; Communication; Concept Paper ; Correction  ; Conference Report/Meeting Report; Discussion; Editorial; Essay; Letter; New book received; Opinion; Project Report; Reply; Retraction; Review; Short Note; Technical Note; Brief Report; Hypothesis; Interesting Images; Erratum; Obituary; Expression of Concern; Data Descriptor; Viewpoint; Perspective; Protocol; Benchmark; Tutorial; Software; Creative"
Selection.HomeKey wdStory
Selection.MoveEndUntil vbCrLf

    If InStr(arr, Selection.Text) = 0 Then
        Selection.Range.HighlightColorIndex = wdYellow
        ActiveDocument.Paragraphs(1).Range.comments.Add ActiveDocument.Paragraphs(1).Range, "This artice type is not allowed"
    End If
End Sub

以上是关于vbscript 检测文章类型是否符合MDPI规定可用的的主要内容,如果未能解决你的问题,请参考以下文章

数据类型

数据类型

vbscript 8.检测方程是否按顺序编号,是否重复编号

vbscript 检测数字和单位之间是否有空格;单位是否缩写

vbscript 检测是否有子表

vbscript 检测结论是否掉小号