LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
GS GS is offline
external usenet poster
 
Posts: 364
Default Text Formats

Adding to the posted suggestions...

Rather than using Left(), Right() and concatenation:

Target.Value = Format(Target.Value, "!@@@@@@@@-@@")

Garry

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc




 
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
Text & Number Formats Gator Excel Discussion (Misc queries) 2 March 5th 08 10:29 PM
Date Formats in Text Box Bowtie63 Excel Discussion (Misc queries) 7 February 5th 08 05:16 PM
set all column formats to Text GerryM Excel Worksheet Functions 3 February 23rd 06 04:12 AM
Can you retain different text formats when merging text? Genmon Excel Discussion (Misc queries) 1 January 20th 05 05:09 PM
skipping text formats Jay[_13_] Excel Programming 3 October 24th 03 07:45 PM


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