View Single Post
 
Old 12-29-2021, 01:08 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,158
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Part II

First the disclaimer - When editing a Word document with this method, you should always do it on a copy of the file. It is possible that you might make a change to the file structure which stops Word from being able to open the contents. If this is the case you can always revert to the original version.

1. In Windows Explorer, right click on the docx version of the file and choose 7zip>Open Archive.
This will open a window revealing that the docx file is actually a zipped file containing folders and files.
2. Navigate inside the folder called word. Click on document.xml and then Ctrl-click on styles.xml to select them both and then Right-click on one of them and choose Open
This should open both files in Notepad++. Have a look at the contents of the document.xml file and you will notice the occasional tag w:color which shows that the colors in the file are in Hex format
3. Under the Search menu, choose Replace... In the find what box type the hex code of the color you want to find (00AEFF) and in the replace with box put in the code you want to change it to (990099). Click the button that says Replace All in all opened documents
4. Do the same for the paler cyan color codes
5. Click the Save All button on the toolbar (4th one from left) and then click the Close All button (6th one from left). Then close Notepad++
6. As you return to 7zip, you should be prompted to update the archive - choose OK and then close 7zip.

Now you should be able to double click the docx file to open it in Word and have a look at the result. If you notice any remaining colours this method didn't replace, make a note of its hex value and repeat the process. In the case of the document you posted earlier in this thread, there is a cyan background on the text "Concept Review" with a different hex code. You can find out what its hex code is by noting that the shading comes from the style Bb1 which you can modify and going to Format > Border... > Shading > Select the fill > More Colors... Then make note of the hex code which says it is #44C8F5
This is your clue that your earlier search and replace should have also included this code (without the # symbol)
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote