vbscript 11.检测补充材料引用或者增刊。 Sec是否遗漏(缺少补充材料的引用/补充材料部分缺失

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vbscript 11.检测补充材料引用或者增刊。 Sec是否遗漏(缺少补充材料的引用/补充材料部分缺失相关的知识,希望对你有一定的参考价值。

Sub equationIsPicture()
Selection.HomeKey wdStory
Dim existSuppl As Boolean
Dim j As Integer
j = 0
 existSuppl = False
 With Selection.Find
    .ClearFormatting
    .Text = "Supplementary Materials:"
    .Font.Bold = -1
    .MatchWildcards = False
    .Replacement.Text = ""
    .Execute
    If .Found Then
        existSuppl = True
    End If
 End With
 
    Selection.HomeKey wdStory
    arr = "[sS]upplementary; Table S[0-9]; Figure S[0-9] "
    suppl = Split(arr, ";")
For i = LBound(suppl) To UBound(suppl)
    With Selection.Find
        .Text = suppl(i)
        .Font.Bold = 0
        .MatchWildcards = True
        Do
        .Execute
            If Not .Found Then
                Exit Do
                
            Else
               j = j + 1
        Loop
    End With
 Next
If j > 0 And existSuppl = False Then
    Call gotoSuppl
    Selection.comments.Add Selection.Range, "Supplementary Materials section is missing"
End If
If j = 0 And existSuppl = True Then
    Call gotoSuppl
    Selection.comments.Add Selection.Range, "The citation of Supplementary Materials is missing"
End If
End Sub


Sub gotoSuppl()
    Selection.HomeKey wdStory

 With Selection.Find
    .ClearFormatting
    .Text = "Supplementary Materials:"
    .Font.Bold = -1
    .MatchWildcards = False
    .Replacement.Text = ""
    .Execute
    
 End With
End Sub

以上是关于vbscript 11.检测补充材料引用或者增刊。 Sec是否遗漏(缺少补充材料的引用/补充材料部分缺失的主要内容,如果未能解决你的问题,请参考以下文章

vbscript 检测摘要里是否出现网址,文献引用,公式,图,表等的提及

西南交大学报增刊怎么投稿?

制作软件过程中所产出得文档(请补充)

2018《哈佛商业评论》正刊与增刊点评(截至8月17日)

检测单击当前活动的选项卡。 (角材料选项卡)

补充材料