zoukankan      html  css  js  c++  java
  • Word 宏代码:将页下脚注提取到正文,放在〖〗中

    Sub 快速提取脚注内容()
    Dim oFootNote As Footnote, myRange As Range
    Dim BeforeName As String, BeforeSize As Single
    On Error Resume Next
    Application.ScreenUpdating = False
    For Each oFootNote In ActiveDocument.Footnotes
    With oFootNote
    Set myRange = ActiveDocument.Range(.Reference.Start, .Reference.End)
    .Range.Copy
    With myRange
    .Text = "〖〗"
    BeforeName = .Font.Name
    BeforeSize = .Font.Size
    myRange.SetRange .Start + 1, .Start + 1
    .Paste
    .Font.Name = BeforeName
    .Font.Size = BeforeSize
    End With
    End With
    Next
    Application.ScreenUpdating = True
    End Sub
  • 相关阅读:
    自闭的D7
    D2
    Codeforces Round #531 (Div. 3)
    hello 2019 D
    牛客练习赛36B
    cf954H
    gym102007 E
    Gym 101972
    Gym 101810
    试题 历届试题 青蛙跳杯子(bfs)
  • 原文地址:https://www.cnblogs.com/yanghao2008/p/10878692.html
Copyright © 2011-2022 走看看