![]() |
#1
|
|||
|
|||
![]()
I have a journal of several years in text format that I'd like to convert to a document, format, and create a print-on-demand book. Individual entries start with lines such as:
Friday, June 12th, 2015 I'd like to write (or preferably, find!) a macro that can search for a pair of strings (e.g, "Monday" && "2015", "Tuesday" && "2015", etc.) and bold that entire line, so it looks like this: Friday, June 12th, 2015 and maybe in a bigger font. So in short: either seven macros (for each day of the week) or better, one macro that will look for lines that match words from a pair of lists (("Monday", "Tuesday", "Wednesday", etc.) && ("2000", "2001", "2002", etc.)) and then bold and increase font size. I'm by no means an expert with RegEx, but I'm a little familiar with the concept. I'm using Word 2000, though I have 2010 if necessary. Any help? Thanks! |
Tags |
formatting, regex |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
aolszewski | Word VBA | 3 | 11-23-2013 02:07 AM |
![]() |
zdodson | Word VBA | 1 | 07-11-2013 04:53 PM |
![]() |
bertietheblue | Word VBA | 9 | 07-01-2013 12:39 PM |
![]() |
redhin | Word VBA | 5 | 03-05-2013 05:42 AM |
![]() |
RBLampert | Word VBA | 13 | 10-23-2012 04:45 PM |