How to Pretty print VBA code?

后端 未结 7 2208
傲寒
傲寒 2020-12-23 14:09

How do you copy VBA code into a Word document and retain the VBA editor color scheme?

7条回答
  •  不思量自难忘°
    2020-12-23 14:23

    For a more modern approach, Sublime Text users can install ExportHTML from Package Control. This has the added benefit of being able to include the line numbers, and changing the code coloration.

    HTML files can be opened directly within Word.

提交回复
热议问题