Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
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

( ) -
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
How can a cell be formatted to display architectural units? teatime Excel Discussion (Misc queries) 0 September 25th 06 06:57 PM
display cell value in msgbox formatted as % rgarber50 Excel Discussion (Misc queries) 5 July 10th 05 03:27 PM
How do I format a cell to display measurement units with symbols . Mandy Excel Discussion (Misc queries) 3 March 30th 05 02:19 PM
How do I format a cell to display measurement units with symbols . Mandy Excel Discussion (Misc queries) 0 March 29th 05 07:25 PM
symbols for phone, fax, email Bomar Excel Discussion (Misc queries) 1 December 8th 04 02:40 AM


All times are GMT +1. The time now is 12:06 PM.

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"