Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
how do i trim or erase the first 10 characters in a cell?
Thank you |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi
short answer.. Sub trimit() Dim r As Range Set r = ActiveCell r.Value = Right(r, Len(r) - 10) End Sub do we have more than one cell??? regards FSt1 "dstiefe" wrote: how do i trim or erase the first 10 characters in a cell? Thank you |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub Trim10()
With Activecell .Value = Mid(.Value,11,Len(.Value)) End With End Sub or Sub Trim10B() With ActiveCell .Value = Mid(.Value, 11) End With End Sub HTH, Bernie MS Excel MVP "dstiefe" wrote in message ... how do i trim or erase the first 10 characters in a cell? Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need help triming a sentence | Excel Discussion (Misc queries) | |||
convert 5 characters in a cell to 6 characters by adding a zero | Excel Discussion (Misc queries) | |||
Change color of characters in a cell based of a cell reference | Excel Programming | |||
Triming a number | Excel Worksheet Functions | |||
Triming the fat off my sheets... | Excel Discussion (Misc queries) |