#1   Report Post  
Posted to microsoft.public.excel.newusers
Renetta
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.newusers
JMB
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.newusers
JLatham
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.newusers
Renetta
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.newusers
JMB
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.newusers
Renetta
 
Posts: n/a
Default 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
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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Open Excel 2003 from Windows Explorer pmpjr Excel Discussion (Misc queries) 9 September 11th 06 03:58 PM
Need suggestions for some uses of Ms Excel Bible John Excel Discussion (Misc queries) 1 February 27th 06 05:30 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM


All times are GMT +1. The time now is 12:10 AM.

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

About Us

"It's about Microsoft Excel"