lkcred,
Welcome to the MrExcel forum.
What version of Excel and Windows are you using?
Hiker95,
Excel 2007, thank you for the welcome!
Sample raw data:
Excel 2007
| A |
---|
Title C | |
A2 | |
My description of something | |
A4 | |
A5 | |
Your description of something else | |
A7 | |
A8 | |
A9 | |
My description of something else | |
A11 | |
| |
<colgroup><col style="width: 25pxpx"><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]7[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]11[/TD]
[TD="align: center"]12[/TD]
[TD="align: right"][/TD]
</tbody>
Sheet1
After the macro:
Excel 2007
| A |
---|
Title C | |
A2 | |
My description of something | |
A4 | |
A5 | |
Your description of something else | |
A7 | |
A8 | |
A9 | |
My description of something else | |
A11 | |
| |
<colgroup><col style="width: 25pxpx"><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]7[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]11[/TD]
[TD="align: center"]12[/TD]
[TD="align: right"][/TD]
</tbody>
Sheet1
Please TEST this FIRST in a COPY of your workbook (always make a backup copy before trying new code, you never know what you might lose).
Code:
Option Explicit
Sub Test()
' hiker95, 02/19/2014, ME758634
Dim c As Range
For Each c In Range("A1", Range("A" & Rows.Count).End(xlUp))
If c Like "*description *" Then c.Font.Bold = True
Next c
End Sub
Before you use the macro with Excel 2007 or newer, save your workbook, Save As, a macro enabled workbook with the file extension
.xlsm
Then run the
Test macro.