Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Cell should show "0" as character....

..

Hi All.....

I'm looking for entering values in the cells.

The idea here is to display wht exactly is typed without using the
hyphen " ' " key.

Specifically, i wan to show "05'' as "05" only, but when typed, it
shows "5"....

Please revert .....


Regards,
Divy

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 857
Default Cell should show "0" as character....

Divy,

One way is to format the cells as text.

1. Select the cell(s)
2. Format-Cells
3. In the Number Tab, under Category, select Text.


If you're looking for a way to do this with VBA code, something like this
will apply the Text format to the entire column A.

Range("A:A").NumberFormat = "@"




--
Hope that helps.

Vergel Adriano


"Divy" wrote:

..

Hi All.....

I'm looking for entering values in the cells.

The idea here is to display wht exactly is typed without using the
hyphen " ' " key.

Specifically, i wan to show "05'' as "05" only, but when typed, it
shows "5"....

Please revert .....


Regards,
Divy


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Cell should show "0" as character....

You will need to format the cell as 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 to show "yes" or "No" in a cell if certain criteria is met? Bojan New Users to Excel 3 September 28th 08 10:36 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
I need to count occurr. of the character "," in a single cell orchid11652 Excel Worksheet Functions 5 March 26th 07 06:27 PM
if "a" selected from dropdown menu then show "K" in other cell LEGALMATTERS Excel Worksheet Functions 1 April 13th 06 06:05 PM
Pivot table "Group and Show Details" vs. "SubTotals" pgchop Excel Programming 0 February 1st 06 07:29 AM


All times are GMT +1. The time now is 03:47 PM.

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"