Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Can somebody tell me how I can erase the first letter in i cell? How do I write that code? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() With code, use Dim S1 As String Dim S2 As String S1 = Range("A1").Text S2 = Mid(S1,2) Or, with a formula, =MID(A1,2,LEN(A1)) Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2009 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Wed, 28 Jan 2009 06:04:01 -0800, Ksenija wrote: Hi, Can somebody tell me how I can erase the first letter in i cell? How do I write that code? Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi again,
it's not working.. maybe I formulated my question badly. I have a cell in wich it written <6. I want to write a code that takes away "<".. "Chip Pearson" skrev: With code, use Dim S1 As String Dim S2 As String S1 = Range("A1").Text S2 = Mid(S1,2) Or, with a formula, =MID(A1,2,LEN(A1)) Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2009 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Wed, 28 Jan 2009 06:04:01 -0800, Ksenija wrote: Hi, Can somebody tell me how I can erase the first letter in i cell? How do I write that code? Thanks |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Just add Range("A1").Value = S2 after the S2 = Mid(..) line. Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2009 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Wed, 28 Jan 2009 06:35:01 -0800, Ksenija wrote: Hi again, it's not working.. maybe I formulated my question badly. I have a cell in wich it written <6. I want to write a code that takes away "<".. "Chip Pearson" skrev: With code, use Dim S1 As String Dim S2 As String S1 = Range("A1").Text S2 = Mid(S1,2) Or, with a formula, =MID(A1,2,LEN(A1)) Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2009 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Wed, 28 Jan 2009 06:04:01 -0800, Ksenija wrote: Hi, Can somebody tell me how I can erase the first letter in i cell? How do I write that code? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to make First letter of the cell in capital letter | Excel Programming | |||
New Validation option to format 1st letter as Capital letter | Excel Discussion (Misc queries) | |||
column header changed from letter to number, how return to letter | Excel Discussion (Misc queries) | |||
if a cell = a particular letter or even contains that letter | Excel Worksheet Functions | |||
press letter and go 2 entry begin w letter in data validation drop | Excel Programming |