Word 2016 - Stubborn Gray Background (JSON pasted from Web Page)

Stephen Kairys
Stephen Kairys used Ask the Experts™
on
In Word, I pasted a snippet of JSON code which (on the webpage) contained a gray background. The background carried over to the DOCX.

Gray Background Mystery
I have tried setting highlighting to white. And shading to NO COLOR. But the gray refuses to go away. I even pressed [SHIFT-F1] to see the formatting info, but nothing jumped out at me.

Scrubbed document attached.

Thanks,
Steve
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
gilnovSystems Administrator

Commented:
Delete and re-paste using paste special by clicking on the little arrow below the Paste icon in the upper left corner of the Word doc window. Select one of the text-only options (unformatted text or unformatted Unicode text).
>> Scrubbed document attached.

I think you forgot to post the document
Stephen KairysTechnical Writer - Consultant

Author

Commented:
@GIlnov - I had tried the text-only options, but they work "too well"...I lose the font, coloring, indenting, etc. All I want to do is to lose the gray background....

Paste with Text Only
@Paul. My bad. Let me try attaching again. I could swear I had done so.... :)

Thanks,
Steve
WordShading-JSONIssueScrubbed.docx
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

Systems Administrator
Commented:
On the home tab of Word, point at the Shading command (bucket icon) in the paragraph group and select None as the fill color.
Word Paragraph Shading commandWord Paragraph Shading command
Stephen KairysTechnical Writer - Consultant

Author

Commented:
Gilnov, Thank you.

Sometimes, I think Word has too many ways to do things for our own good... :)

Steve
gilnovSystems Administrator

Commented:
I agree. Glad I could help. Check out Notepad++ if you're looking for a good, free alternative to word for editing code. notepad-plus-plus.org
Stephen KairysTechnical Writer - Consultant

Author

Commented:
Thanks.
I use Notepad++.
Thing is: I had copied/pasted this code for inclusion as an example a Word Doc. So, I'm stuck with Word...like it or not. :)
gilnovSystems Administrator

Commented:
Ha! Aren't we all. Code on, my friend.
Stephen KairysTechnical Writer - Consultant

Author

Commented:
:) Thanks again. Actually, in all modesty, I'm not the one coding. I'm just the lowly Tech Writer crafting an API doc....although I used to be a coder.... :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial