Comment renvoyer tous les liens hypertexte dans un document Microsoft Word à leur style bleu par défaut?

Table des matières:

Comment renvoyer tous les liens hypertexte dans un document Microsoft Word à leur style bleu par défaut?
Comment renvoyer tous les liens hypertexte dans un document Microsoft Word à leur style bleu par défaut?

Vidéo: Comment renvoyer tous les liens hypertexte dans un document Microsoft Word à leur style bleu par défaut?

Vidéo: Comment renvoyer tous les liens hypertexte dans un document Microsoft Word à leur style bleu par défaut?
Vidéo: 7 ASTUCES sur Apple TV 4K ! - YouTube 2024, Avril
Anonim
Nous l'avons tous fait à un moment ou à un autre et avons accidentellement modifié le style d'un élément important d'un document Microsoft Word sur lequel nous travaillons. Il peut être facile de réparer si c'est quelque chose de petit, mais que se passe-t-il si ce n'est pas aussi simple? Le post Q & R du SuperUser d’aujourd’hui fournit des méthodes simples et rapides pour mettre à jour le document Microsoft Word du lecteur.
Nous l'avons tous fait à un moment ou à un autre et avons accidentellement modifié le style d'un élément important d'un document Microsoft Word sur lequel nous travaillons. Il peut être facile de réparer si c'est quelque chose de petit, mais que se passe-t-il si ce n'est pas aussi simple? Le post Q & R du SuperUser d’aujourd’hui fournit des méthodes simples et rapides pour mettre à jour le document Microsoft Word du lecteur.

La séance de questions et réponses d’aujourd’hui nous est offerte par SuperUser, une sous-division de Stack Exchange, un groupe de sites Web de questions-réponses dirigé par la communauté.

La question

Lecteur superutilisateur Rox souhaite savoir comment ramener tous les liens hypertexte d'un document Microsoft Word dans leur style de texte bleu souligné d'origine:

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?

Existe-t-il un moyen simple (et rapide) de ramener tous les liens hypertexte d'un document Microsoft Word dans leur style de texte bleu souligné d'origine?

La réponse

Les contributeurs de SuperUser, Steven et Techie007, ont la solution pour nous. Première place, Steven:

Resetting the style of all hyperlinks back to the original default requires a VBA Macro.

Code

Image
Image

Steps

  1. Press Alt + F11 to open Microsoft Visual Basic for Applications.
  2. Double-click on ThisDocument.
  3. Paste the code from the block above into the editor.
  4. Press F5 to run the code.
  5. Delete the code from the editor window to prevent Microsoft Word from saving with macros.

Suivi de la réponse de 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):

  1. From the Home Tab on the ribbon, choose Replace (under Editing) or use the keyboard shortcut Ctrl + H.
  2. Click the More >> button to expand the window.
  3. Click in the blank Find what field near the top of the window.
  4. At the bottom, click on the Format drop-down menu and select Style…
  5. Choose Hyperlink from the list in the new sub-window and press OK to close the window and return to the previous one.
  6. Click in the blank Replace with field.
  7. At the bottom, click on the Format drop-down menu and select Style… once again.
  8. 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.
  9. Click on the Replace All button.
Image
Image

Avez-vous quelque chose à ajouter à l'explication? Sound off dans les commentaires. Voulez-vous lire plus de réponses d'autres utilisateurs de Stack Exchange doués en technologie? Découvrez le fil de discussion complet ici.

Conseillé: