Hello,
I have a spreadsheet containing details of a few thousand newspaper articles.
At present, column A contains both the headline and newspaper name, as below:
A1: Headline1 The Toronto Star
A2: Headline2 The Toronto Sun
A3: Headline3 Windsor Star (Ontario)
A4: Headline4 Winnipeg Sun (Manitoba, Canada)
However, I would like to have the headlines and newspaper titles separated into the different columns (e.g. 'Headline1' in A1 and 'The Toronto Star' in B1, etc)
If I were to create a list containing all the newspaper titles (named, say 'NewspaperTitles'), would it be possible to have a macro that goes through column A and uses Replace to insert a delimiter in front of the newspaper title?
So, for example, using the four articles above, could I have a list containing the newspaper titles – 'The Toronto Star', 'The Toronto Sun', 'Windsor Star (Ontario)', 'Winnipeg Sun (Manitoba, Canada)' – and a macro that goes through column A changes every instance of 'The Toronto Star' to '*The Toronto Star', every instance of 'The Toronto Sun' to '*The Toronto Sun', etc?
I hope that makes sense.
Any help would be very greatly appreciated.
Cheers,
Pete
I have a spreadsheet containing details of a few thousand newspaper articles.
At present, column A contains both the headline and newspaper name, as below:
A1: Headline1 The Toronto Star
A2: Headline2 The Toronto Sun
A3: Headline3 Windsor Star (Ontario)
A4: Headline4 Winnipeg Sun (Manitoba, Canada)
However, I would like to have the headlines and newspaper titles separated into the different columns (e.g. 'Headline1' in A1 and 'The Toronto Star' in B1, etc)
If I were to create a list containing all the newspaper titles (named, say 'NewspaperTitles'), would it be possible to have a macro that goes through column A and uses Replace to insert a delimiter in front of the newspaper title?
So, for example, using the four articles above, could I have a list containing the newspaper titles – 'The Toronto Star', 'The Toronto Sun', 'Windsor Star (Ontario)', 'Winnipeg Sun (Manitoba, Canada)' – and a macro that goes through column A changes every instance of 'The Toronto Star' to '*The Toronto Star', every instance of 'The Toronto Sun' to '*The Toronto Sun', etc?
I hope that makes sense.
Any help would be very greatly appreciated.
Cheers,
Pete