Re: How can I remove leading zeros?
- From: "Gary Keramidas" <GKeramidasATmsn.com>
- Date: Wed, 26 Sep 2007 17:03:11 -0400
try this if the cell in B2 had your example
=SUBSTITUTE(B2,"0","")
--
Gary
"AccessHelp" <AccessHelp@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:00BEEC86-53BF-4252-85F9-52274CC9C119@xxxxxxxxxxxxxxxx
Hello,
I have a field with values "AAAA", "0AAA", "00AA", and "000A". I want to
remove leading zeros on the ones with leading zeros. For example, "0AAA"
will turn into "AAA".
Can someone help me with the formula? I have tried using "Val" and "Str",
and they don't seem to work.
Thanks.
.
- Follow-Ups:
- Re: How can I remove leading zeros?
- From: AccessHelp
- Re: How can I remove leading zeros?
- References:
- How can I remove leading zeros?
- From: AccessHelp
- How can I remove leading zeros?
- Prev by Date: Re: Popluating data from ms access
- Next by Date: Re: button macro
- Previous by thread: How can I remove leading zeros?
- Next by thread: Re: How can I remove leading zeros?
- Index(es):