1. Alt-F11 을 눌러 VBA 창 실행
2. 삽입 > 모듈 , 모듈창이 뜨면 아래 코드를 그대로 붙여 놓고 매크로 실행( ) 클릭
Sub KillTheHyperlinks()
' -----------------------------------------------
' Removes all hyperlinks from the document:
' Text to display is left intact
' -----------------------------------------------
With ThisDocument
' Loop while there are hyperlinks afoot!
While .Hyperlinks.Count > 0
.Hyperlinks(1).Delete
Wend
End With
' Shut this off, don't need anymore popping up
Application.Options.AutoFormatAsYouTypeReplaceHyperlinks = False
End Sub
'Excel, VBA' 카테고리의 다른 글
MS 워드에서 링크이미지를 문서안에 저장하기 (0) | 2018.06.26 |
---|---|
시트(sheet) 합치기 (0) | 2018.01.22 |
각각의 sheet를 sheet 이름으로 한 pdf 생성 (0) | 2013.10.30 |