View Single Post
 
Old 08-18-2018, 08:30 PM
jeffreybrown jeffreybrown is offline Windows Vista Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default VBA: Set two styles in one sentence

Is it possible to have a VBA routine check a sentence and add two styles.

With the string below, the part before the first comma should be bold, and the part between the first and second comma should be italics.

Before
AFC 39-101, A Reference book, 23 August 2018
DAB 10-211, Automotive Manual, 16 January 2009

After
AFC 39-101, A Reference book, 23 August 2018
DAB 10-211, Automotive Manual, 16 January 2009
Reply With Quote