Delete Text from a "Tabbed" Cell

KGEORGE13

New Member
Joined
May 30, 2018
Messages
36
Hello all,

I've run into a problem with using a VBA to delete certain text from cells. I call it a "Tabbed" cell, because I'm not sure what it actually is called. This is an imported sheet from a different software. As you can see in the picture below, the cell has 3 lines, but the formula bar up top only shows the first. I want to run a macro that will delete all text but the first line of the cell. Anything helps!

1626453786855.png


thank you!
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
If you put
Excel Formula:
=LEFT(B10,FIND(CHAR(10),B10)-1)
into another cell. does it return what you want?
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
While I have you here, If you could help me with one more thing, that would be great (if not, I will create another thread). This seems simple.

I want to run a macro to delete all rows where the cell in column A starts with "E" or is blank.
 
Upvote 0
A that's a totally different question, it needs a new thread. Thanks
 
Upvote 0

Forum statistics

Threads
1,214,590
Messages
6,120,423
Members
448,961
Latest member
nzskater

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