Phiên Hỏi & Đáp hôm nay đến với chúng tôi theo lịch sự của SuperUser - một phân khu của Stack Exchange, một nhóm các trang web Hỏi & Đáp do cộng đồng điều hành.
Câu hỏi
Người đọc SuperUser Rox muốn biết cách trả về tất cả các siêu liên kết trong tài liệu Microsoft Word trở lại kiểu văn bản màu xanh được gạch chân ban đầu của chúng:
I selected all the text in a Microsoft Word document and set the font color to black (which is what I wanted to do). I did not realize until it was too late that the document had hyperlinks in it (several pages in, in a very long document).
Now I am unable to tell where the hyperlinks are, although I know they are still working. Since there are so many hyperlinks, how can I return all of them to their default underlined blue colored text style without slowly searching through the entire document and converting each one individually?
Có cách nào dễ dàng (và nhanh chóng) để trả về tất cả các siêu liên kết trong tài liệu Microsoft Word về kiểu văn bản có màu xanh lam được gạch chân ban đầu của chúng không?
Câu trả lời
Những người đóng góp của SuperUser Steven và Techie007 có câu trả lời cho chúng tôi. Đầu tiên, Steven:
Resetting the style of all hyperlinks back to the original default requires a VBA Macro.
Code
Steps
- Press Alt + F11 to open Microsoft Visual Basic for Applications.
- Double-click on ThisDocument.
- Paste the code from the block above into the editor.
- Press F5 to run the code.
- Delete the code from the editor window to prevent Microsoft Word from saving with macros.
Tiếp theo là câu trả lời từ Techie007:
Assuming that the links are all still styled as hyperlinks in the document (which they should be if all you did was change the font color):
- From the Home Tab on the ribbon, choose Replace (under Editing) or use the keyboard shortcut Ctrl + H.
- Click the More >> button to expand the window.
- Click in the blank Find what field near the top of the window.
- At the bottom, click on the Format drop-down menu and select Style…
- Choose Hyperlink from the list in the new sub-window and press OK to close the window and return to the previous one.
- Click in the blank Replace with field.
- At the bottom, click on the Format drop-down menu and select Style… once again.
- Choose Hyperlink from the list in the new sub-window once again and press OK to close the window and return to the previous one.
- Click on the Replace All button.
Có cái gì để thêm vào lời giải thích? Tắt âm thanh trong các ý kiến. Bạn muốn đọc thêm câu trả lời từ những người dùng Stack Exchange có hiểu biết công nghệ khác? Xem toàn bộ chuỗi thảo luận tại đây.