工具==>宏==>宏(Alt + F6),把下面代码拷进去:

 

Java代码
  1. Sub ReSetOutline()   
  2. Dim myPara As Paragraph   
  3. For Each myPara In ActiveDocument.Paragraphs   
  4. myPara.OutlineLevel = myPara.style.ParagraphFormat.OutlineLevel   
  5. Next myPara   
  6. End Sub  

 

 

    然后,点上面的运行,要过个好几秒钟的样子才能运行完,回去看看,好了。。。

相关文章:

  • 2021-11-18
  • 2022-12-23
  • 2021-12-15
  • 2021-11-30
  • 2022-03-09
猜你喜欢
  • 2021-11-17
  • 2022-02-07
  • 2022-12-23
  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案