文章标签 ‘注释’
如题,懂的入。 Sub ToggleComment () ‘DESCRIPTION: Toggle Comments a selected block of text. Dim win Set win = ActiveWindow If win.type <> "Text" Then MsgBox "This macro can only be run when a text editor window is active." Else StartLine = ActiveDocument.Selection.TopLine EndLine = ActiveDocument.Selection.BottomLine If EndLine < StartLine Then Temp = StartLine StartLine = EndLine [...]
分类: 技术相关

