Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
CSBUG
 
Posts: n/a
Default Auto Formatting Custom Number


I'm creating a form where you can enter a credit card number. I set a
custom number for the cell and described it as ####-####-####-####.
You can enter a 16 digit number just fine, but when you tab away from
the cell and the custom number takes place, it changes the last digit
to a "0". Has anyone else encountered this? How do I fix it?


--
CSBUG
------------------------------------------------------------------------
CSBUG's Profile: http://www.excelforum.com/member.php...o&userid=28846
View this thread: http://www.excelforum.com/showthread...hreadid=485951

  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Auto Formatting Custom Number

Precede you entry with a single apostrophe.
_____________________________________
Gary's Student


"CSBUG" wrote:


I'm creating a form where you can enter a credit card number. I set a
custom number for the cell and described it as ####-####-####-####.
You can enter a 16 digit number just fine, but when you tab away from
the cell and the custom number takes place, it changes the last digit
to a "0". Has anyone else encountered this? How do I fix it?


--
CSBUG
------------------------------------------------------------------------
CSBUG's Profile: http://www.excelforum.com/member.php...o&userid=28846
View this thread: http://www.excelforum.com/showthread...hreadid=485951


  #3   Report Post  
Posted to microsoft.public.excel.misc
CSBUG
 
Posts: n/a
Default Auto Formatting Custom Number


If this form is for other people to use. I want them to just type in
the 16 digits and have it format itself. Without having to explain to
150 people that they need to start every entry with an apostrophe.
Should I put the apostrophe in the custom number script?



Gary''s Student Wrote:
Precede you entry with a single apostrophe.
_____________________________________
Gary's Student


"CSBUG" wrote:


I'm creating a form where you can enter a credit card number. I set

a
custom number for the cell and described it as ####-####-####-####.
You can enter a 16 digit number just fine, but when you tab away

from
the cell and the custom number takes place, it changes the last

digit
to a "0". Has anyone else encountered this? How do I fix it?


--
CSBUG

------------------------------------------------------------------------
CSBUG's Profile:

http://www.excelforum.com/member.php...o&userid=28846
View this thread:

http://www.excelforum.com/showthread...hreadid=485951




--
CSBUG
------------------------------------------------------------------------
CSBUG's Profile: http://www.excelforum.com/member.php...o&userid=28846
View this thread: http://www.excelforum.com/showthread...hreadid=485951

  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Auto Formatting Custom Number

You have a response in .excel, too.

CSBUG wrote:

I'm creating a form where you can enter a credit card number. I set a
custom number for the cell and described it as ####-####-####-####.
You can enter a 16 digit number just fine, but when you tab away from
the cell and the custom number takes place, it changes the last digit
to a "0". Has anyone else encountered this? How do I fix it?

--
CSBUG
------------------------------------------------------------------------
CSBUG's Profile: http://www.excelforum.com/member.php...o&userid=28846
View this thread: http://www.excelforum.com/showthread...hreadid=485951


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
Suresh
 
Posts: n/a
Default Auto Formatting Custom Number

Excel's number precision is maximum 15 digits. So you wont be able to retain
the 16 digit. It is not unique to your format and is a general limitation. I
suggest you define 4 cells in your form to input the card number.
Alternatively, you can use a text box.

"CSBUG" wrote:


If this form is for other people to use. I want them to just type in
the 16 digits and have it format itself. Without having to explain to
150 people that they need to start every entry with an apostrophe.
Should I put the apostrophe in the custom number script?



Gary''s Student Wrote:
Precede you entry with a single apostrophe.
_____________________________________
Gary's Student


"CSBUG" wrote:


I'm creating a form where you can enter a credit card number. I set

a
custom number for the cell and described it as ####-####-####-####.
You can enter a 16 digit number just fine, but when you tab away

from
the cell and the custom number takes place, it changes the last

digit
to a "0". Has anyone else encountered this? How do I fix it?


--
CSBUG

------------------------------------------------------------------------
CSBUG's Profile:

http://www.excelforum.com/member.php...o&userid=28846
View this thread:

http://www.excelforum.com/showthread...hreadid=485951




--
CSBUG
------------------------------------------------------------------------
CSBUG's Profile: http://www.excelforum.com/member.php...o&userid=28846
View this thread: http://www.excelforum.com/showthread...hreadid=485951


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
change custom format number to text joey Excel Discussion (Misc queries) 3 September 20th 05 09:35 PM
Want a number of cells to be auto completed based on entry in one. matt ashley Excel Worksheet Functions 1 April 14th 05 10:07 PM
How do I do conditional formatting on number formats not patterns. dave55 Excel Discussion (Misc queries) 2 March 22nd 05 02:21 AM
Create an Auto Number Metric Excel Worksheet Functions 2 December 1st 04 04:21 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 07:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"