Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.newusers
|
|||
|
|||
excel
hi,
I need to limit what is entered into a specific column associated with ssn's. Specifically, I do not want someone to enter dashes or add spaces. Reason is formating purposes assocated with linking information into Access. |
#2
Posted to microsoft.public.excel.newusers
|
|||
|
|||
excel
Have you Tried Data Validation (Data/Validation - select whole number,
minimum of zero) You could also format the cell to show dashes with Format/Cells/Special - SSN. "Renetta" wrote: hi, I need to limit what is entered into a specific column associated with ssn's. Specifically, I do not want someone to enter dashes or add spaces. Reason is formating purposes assocated with linking information into Access. |
#3
Posted to microsoft.public.excel.newusers
|
|||
|
|||
excel
An additional advantage of using Data Validation is that you can have the
system popup a message when the cell is chosen that gives instructions "Enter your SSAN without spaces or dashes". I was going to suggest setting a Whole Number range between 100000000 and 999999999 since by definition, an SSAN is a 9-digit number: 1st 3 keyed to the state where it was issued next 2 indicate order of issue in each area last 4 are supposedly randomly generated. "JMB" wrote: Have you Tried Data Validation (Data/Validation - select whole number, minimum of zero) You could also format the cell to show dashes with Format/Cells/Special - SSN. "Renetta" wrote: hi, I need to limit what is entered into a specific column associated with ssn's. Specifically, I do not want someone to enter dashes or add spaces. Reason is formating purposes assocated with linking information into Access. |
#4
Posted to microsoft.public.excel.newusers
|
|||
|
|||
excel
Okay, I've done that and it works thanks. Now that I have done this and
linked my spreadsheet to MS Access another question comes up. See, I failed to tell you that not all account #'s truly are SSN's they may consist of Alpha and numeric characters. The probem isn't with excel as I set it up as text in my Validation. But there is a probem with Access. When the info is carried over (table is linked to Access) the info reads as numeric instead of text. I get and error if a Alpha character exists and or if the account # starts with zeros they are droped from the account # detail. I need all detail to show for reporting purposes. What can I do. I've tried using an input mask as "000000000", but that didn't work. Any assistance would be great. "Renetta" wrote: hi, I need to limit what is entered into a specific column associated with ssn's. Specifically, I do not want someone to enter dashes or add spaces. Reason is formating purposes assocated with linking information into Access. |
#5
Posted to microsoft.public.excel.newusers
|
|||
|
|||
excel
I've not used access enough to offer a good solution. Maybe JLatham has a
suggestion. "Renetta" wrote: Okay, I've done that and it works thanks. Now that I have done this and linked my spreadsheet to MS Access another question comes up. See, I failed to tell you that not all account #'s truly are SSN's they may consist of Alpha and numeric characters. The probem isn't with excel as I set it up as text in my Validation. But there is a probem with Access. When the info is carried over (table is linked to Access) the info reads as numeric instead of text. I get and error if a Alpha character exists and or if the account # starts with zeros they are droped from the account # detail. I need all detail to show for reporting purposes. What can I do. I've tried using an input mask as "000000000", but that didn't work. Any assistance would be great. "Renetta" wrote: hi, I need to limit what is entered into a specific column associated with ssn's. Specifically, I do not want someone to enter dashes or add spaces. Reason is formating purposes assocated with linking information into Access. |
#6
Posted to microsoft.public.excel.newusers
|
|||
|
|||
excel
Hi,
I've set the validation rules as you've indicated, but I'm still running into problems. Spec. when the data is linked to Access where a ssn starts with a "0" the "0" drops off. How can I get that to show up? I need all 9 digit to show regardless of the number it starts with. Any suggestions! Please help. "Renetta" wrote: hi, I need to limit what is entered into a specific column associated with ssn's. Specifically, I do not want someone to enter dashes or add spaces. Reason is formating purposes assocated with linking information into Access. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Stop excel from dropping the 0 in the beginning of a number? | Setting up and Configuration of Excel | |||
Open Excel 2003 from Windows Explorer | Excel Discussion (Misc queries) | |||
Need suggestions for some uses of Ms Excel | Excel Discussion (Misc queries) | |||
Excel Range Value issue (Excel 97 Vs Excel 2003) | Excel Discussion (Misc queries) | |||
Excel 2002 and 2000 co-install. Control Which Starts ? | Excel Discussion (Misc queries) |