Try this :

 

Public Function SheetName(Shname As String) As String Dim Cod As Integer Dim
ShN As String

            For i = 1 To Len(Shname)

                Cod = Asc(Mid(Shname, i, 1))

                        If (Cod > 64 And Cod < 91) Or (Cod > 96 And Cod <
123) Or (Cod > 79 And Cod < 90) Then

                        ShN = ShN & Mid(Shname, i, 1)

                        End If

            Next

            SheetName = ShN

End Function

 

 

 

Visit this:

http://excelpoweruser.blogspot.com/search?q=remove

 

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of Shaik Waheed
Sent: Dec/Wed/2011 06:57
To: excel-macros@googlegroups.com
Subject: Re: $$Excel-Macros$$ Removal Special Charracter in Excel

 

Hi,

You can simply use "Ctrl+H", in find place, type '*' and replace it with
blank, dats it.

On Wed, Dec 28, 2011 at 3:58 PM, Imran khan <ikha...@gmail.com> wrote:

Dear All,

 

Could you please help me to find correct formulla to remove charracter like
(* , /......). I have data in which having dates in 12-Feb-2011* format, in
which i need to remove *.

 

I have attached file for solution.

 

Regards,

Imran Khan

 

-- 
FORUM RULES (934+ members already BANNED for violation)
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
 
2) Don't post a question in the thread of another member.
 
3) Don't post questions regarding breaking or bypassing any security
measure.
 
4) Acknowledge the responses you receive, good or bad.
 
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited. 
 
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
 
----------------------------------------------------------------------------
--------------------------
To post to this group, send email to excel-macros@googlegroups.com

 

-- 
FORUM RULES (934+ members already BANNED for violation)
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
 
2) Don't post a question in the thread of another member.
 
3) Don't post questions regarding breaking or bypassing any security
measure.
 
4) Acknowledge the responses you receive, good or bad.
 
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited. 
 
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
 
----------------------------------------------------------------------------
--------------------------
To post to this group, send email to excel-macros@googlegroups.com

-- 
FORUM RULES (934+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to