Re: Format "0000"
- From: Limey <daveli@xxxxxxxxxxxx>
- Date: Fri, 29 Jun 2007 16:43:41 -0000
On Jun 29, 9:38 am, Matt <mwagn...@xxxxxxxxx> wrote:
I am performing a collection of values from different cells on a
work*** and inserting them into an Access database. When I update
an Access database with the value in C2, which in this case is the
number 2, I need to it to go into the Access record as "0002". The
field in Access is a Text field.
Is there some type of Format function that I can use to push the C2
value into Access the way I need it?
THanks
Hi Mat
You can use a custom format, (Format> Cells go to the Number tab and
select Custom), and insert this following 0000#. However this will not
change the value, only what is displayed. To change the actual value,
to match what is being displayed, will need a small VBA macro. I have
it if you need it, let me know.
Cheers
Dave
.
- Follow-Ups:
- Re: Format "0000"
- From: Matt
- Re: Format "0000"
- References:
- Format "0000"
- From: Matt
- Format "0000"
- Prev by Date: Format "0000"
- Next by Date: Re: Format "0000"
- Previous by thread: Format "0000"
- Next by thread: Re: Format "0000"
- Index(es):