Skip a Line

TCookVT

New Member
Joined
Jun 18, 2002
Messages
25
Hi
I have a column of cells each with multiple lines of text. I am trying to bold the first word of the second line in each cell. I can write a macro to bold the line, but I dont know how to make it start at the second line of text rather than the first.

example:
Photoresist Spinner
Manufacturer: Edwards
Model: 306A

I would like to Bold just the word manufacturer. The First line of text has a different number of characters for each cell so I'm wondering if there is some way to start with an "alt-enter" command to skip right to the second line and then bold the first 13 characters.

Any help would be appreciated.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
How about:

With Worksheets("sheet1")
test = InStr(.Cells(1, 1), Chr(10)) + 1
.Cells(1, 1).Characters(InStr(.Cells(1, 1), Chr(10)) + 1, 13).Font.Bold = True
End With
 
Upvote 0

Forum statistics

Threads
1,214,386
Messages
6,119,217
Members
448,876
Latest member
Solitario

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top