Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default custom formating text

Hello

I am using excel and i want to add space to text. Eg I have text like
EE1234567890 and i want excel to display it as EE 1234567 890 in the same
cell, without cuting it to peaces ( this is because i minght need to copy it
to word)

Thanks

Mart
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default custom formating text

formatting such as that only pertains to values stored as numbers, so you
would physically have to add spaces or display it in another cell using a
formula to insert the spaces.

You could write a macro to put in the spaces and write another to take them
out.

--
Regards,
Tom Ogilvy

"Mart" wrote in message
...
Hello

I am using excel and i want to add space to text. Eg I have text like
EE1234567890 and i want excel to display it as EE 1234567 890 in the same
cell, without cuting it to peaces ( this is because i minght need to copy

it
to word)

Thanks

Mart



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default custom formating text

Hi Mart ,

You could use a formula like this =LEFT(A1,2) & " " & MID(A1,3,7) & " " &
RIGHT(A1,3) provided your string legth and format doesn't change(here A1 has
the required string)

Thanks
Xcelion


"Mart" wrote:

Hello

I am using excel and i want to add space to text. Eg I have text like
EE1234567890 and i want excel to display it as EE 1234567 890 in the same
cell, without cuting it to peaces ( this is because i minght need to copy it
to word)

Thanks

Mart

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
Custom formating Greg Excel Discussion (Misc queries) 3 May 23rd 10 11:26 AM
custom formating numbers JK Excel Discussion (Misc queries) 1 May 24th 08 04:37 AM
Custom formating of cells Dale Excel Worksheet Functions 2 February 28th 07 09:17 PM
custom formating a cell VDU Excel Worksheet Functions 2 November 22nd 06 09:00 AM
Custom formating won't work Marty Excel Worksheet Functions 3 January 6th 05 03:43 PM


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

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"