View Single Post
 
Old 01-07-2025, 08:21 AM
Shelley Lou Shelley Lou is offline Windows 10 Office 2016
Expert
 
Join Date: Dec 2020
Posts: 259
Shelley Lou is on a distinguished road
Default VBA Format text in brackets to Italics but only after cross references

I marked this thread as solved but on further testing, the code isn't working as expected. I ran it on a document containing text within brackets after cross reference fields and general text in brackets. The code formats all text within brackets to italics and not just the text in brackets after a cross reference field. Any advice what I can add to the code to prevent the code from formatting all text within brackets to italics?

Capture.JPG
Reply With Quote