macro delete first three symbols

Paradi

New Member
Joined
Jul 6, 2018
Messages
7
[TABLE="width: 500"]
<tbody>[TR]
[TD]51U Black Cloth Headliner
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]731 Burl Walnut Wood Trim
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P17 Keyless-Go
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Hi,

I couldn't find good macros to delete firs three symbols from cell (51U, 731, ).. its not always the same symbols... I was trying a lot off different macros and always something is wrong :( any idea?



I kwon the formula (=right(a1,len.....) and its work, but I need macros because I partly remove the cells and later I all these cells separate using commas.


Please help me create a macro to remove the 3 first symbols
 
I have another question:
When I separate comma my text I don't have a space after the comma. I know than I could use "trim(substitute...." option by macros would be much better
I don't think that I understand your question. If you want a space after the comma then just put one there.
Rich (BB code):
outStr = outStr & ", " & rng.Value

If that is not what you mean then please give a clearer description and a small set of dummy sample data and the expected output.

BTW, when posting code you need to use CODE tags to preserve the formatting, not QUOTE tags
 
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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