Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 363
Default Display ONLY the LEFT Most 6 Charaters

How can i code a Cell (B4) to have only 6 charaters to be displayed ?

I want it to look like:
A 1234

(A) is ALWAYS the 1st charater and is set in the Custom Formatting as : "A "#

I set it to display the letter (A) and 1 space like "A "

There will always be 4 numerical values i need to display with the A and Space.

How can i do this ?


Corey....


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Display ONLY the LEFT Most 6 Charaters

Change your custom format to
"A " 0000
instead of
"A " #
This will force six characters. You may also want to place some validation
on the cell to foce only whole numbers between 0 and 9999...
--
HTH...

Jim Thomlinson


"Corey" wrote:

How can i code a Cell (B4) to have only 6 charaters to be displayed ?

I want it to look like:
A 1234

(A) is ALWAYS the 1st charater and is set in the Custom Formatting as : "A "#

I set it to display the letter (A) and 1 space like "A "

There will always be 4 numerical values i need to display with the A and Space.

How can i do this ?


Corey....



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 display 2 scales on left and right? Eric Charts and Charting in Excel 1 January 29th 10 07:25 AM
Display a cell to the left with some changes cmatera Excel Worksheet Functions 1 September 16th 08 05:33 AM
Display error msg when cells left blank Jas Excel Programming 5 May 16th 07 07:50 PM
Display zeros to the left of a number Student Excel Programming 4 September 28th 06 02:18 PM
how to display zero at the left hand of a code in a cell say 045 Marie Excel Discussion (Misc queries) 3 June 12th 06 10:41 AM


All times are GMT +1. The time now is 04:01 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"