A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How can I display symbols in phone # formatted cell when empty?



 
 
Thread Tools Display Modes
  #1  
Old January 20th, 2009, 07:43 PM posted to microsoft.public.excel.worksheet.functions
Sandi Rutalnd
external usenet poster
 
Posts: 1
Default How can I display symbols in phone # formatted cell when empty?

I understand how to format the cell to display (123) 555-1234 when digits are
entered into the cell. What I'd like to do is have the ( ) & - appear when
the cell is empty. That way users will be prompted to enter the 10 digit
number.
  #2  
Old January 21st, 2009, 05:46 AM posted to microsoft.public.excel.worksheet.functions
Harlan Grove[_2_]
external usenet poster
 
Posts: 1,439
Default How can I display symbols in phone # formatted cell when empty?

Sandi Rutalnd Sandi wrote...
I understand how to format the cell to display (123) 555-1234 when digits are
entered into the cell. *What I'd like to do is have the ( * ) & - appear when
the cell is empty. *That way users will be prompted to enter the 10 digit
number.


Excel won't display anything in truly blank cells.

Your alternatives are to paste a picture or a picture link of a cell
containing ( ) - on top of cells that should contain phone numbers,
and use a Change event handler macro to clear the picture upon entry
of valid phone numbers; or give such cells the custom number format

[=9999999]###-####;(###) ###-####;;"( ) - "

and enter the formula ="" into these cells, copy, then paste special
as values. The cells would then appear blank but would actually
contain literal zero-length strings, and because Excel considers them
to contain strings, it'll use the 4th bit of the number format to
display the text value of the cell. In this case, it'd display the
literal text

( ) -
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:30 AM.


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