Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
joe joe is offline
external usenet poster
 
Posts: 62
Default Masking character

Hi,

How to mask off the character that i do not want and
retain certain characters? example

original: F1234j

change one: F1xxxj

where F,1 and j is retained.


many thanks.

regards,
Joe
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Masking character

s = "F1234j"
s = left(s,2) & right(s,1)

--
Regards,
Tom Ogilvy

"Joe" wrote in message
...
Hi,

How to mask off the character that i do not want and
retain certain characters? example

original: F1234j

change one: F1xxxj

where F,1 and j is retained.


many thanks.

regards,
Joe



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
masking with symbol xxxx oldLearner57 Excel Discussion (Misc queries) 4 August 28th 08 01:53 PM
Masking out characters in a cell dnardi Excel Worksheet Functions 9 December 18th 07 08:04 PM
Display masking goto_guy Excel Discussion (Misc queries) 2 March 30th 06 11:38 PM
Masking numbers RNeducator Excel Worksheet Functions 2 December 2nd 05 02:25 PM
Bit Masking Merlyn Knight Excel Programming 2 March 5th 04 08:19 AM


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