vbscript 批量BIBTEX

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vbscript 批量BIBTEX相关的知识,希望对你有一定的参考价值。

With Selection.Find
        .Text = "^13[A-Z][!^13]@[a-z]. [A-Z]"
        .Wrap = wdFindStop
        .Forward = True
        .MatchWildcards = True
        Do
        .Execute
        If Not .Found Then
        Exit Do
        Else
            Dim myrange As Range
            Set myrange = ActiveDocument.Range(Selection.Range.Start + 1, Selection.End - 3)
            myrange.Select
              If InputBox("Is this ncbi?", "NCBI", "yes", 300, 300) = "yes" Then
            Call layout_feifei_liu.sFormatBibtexName
            End If
       Selection.Collapse wdCollapseEnd
        End If
        Loop
End With



Sub Macro5()
i = 1
Do While (i < 150)
Do
Selection.MoveEndUntil ","

If existTitle(Selection.Text) = False Then
oriL = Len(Selection.Text)
Selection.MoveRight wdCharacter, 2, wdExtend
Selection.MoveEndUntil ","
 nowL = Len(Selection.Text)
 
Else
   
    Selection.MoveLeft wdCharacter, nowL - oriL, wdExtend
    Selection.MoveRight wdCharacter, 1, wdExtend
    If InputBox("Is this ncbi?", "NCBI", "yes", 300, 300) = "yes" Then
    Call layout_feifei_liu.sFormatBibtexName
    End If
    Exit Do
End If
Loop
Selection.Move 4
i = i + 1
Loop
End Sub

以上是关于vbscript 批量BIBTEX的主要内容,如果未能解决你的问题,请参考以下文章

vbscript 使用节点根据模板批量生成文件并使用VBScript自动填写excel

vbscript 批量修改模板

vbscript 批量改缩写

vbscript 批量导出VBA文件

vbscript 批量转换XLS到XLSX

查找文献的BibTex