Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
How to find a * (Ascterisc Simbol)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Stalin Torres  
View profile  
 More options Aug 18 1999, 3:00 am
Newsgroups: microsoft.public.excel.sdk
From: "Stalin Torres" <stali...@hotmail.com>
Date: 1999/08/18
Subject: How to find a * (Ascterisc Simbol)
Hi, Every body
i have a little problem if you know how to help me please do it

the situation:

1) I have in a worksheet some cells with alphanumeric values like 3456* or
2341* whatever
2) I need find the Asterisc simbol and replace with ""
3) the number that I wait  for will be  3456 and 2341

the problem:

i´m using this code:
With Datos
          .Replace what:="*", Replacement:="", LookAt:=xlWhole
End With

it replace ALL the range called Datos with a "" in other words, the code
deletes Datos

Question:

How can i correct this problem?

Alot of thanks.

PD: excuse my English, I speak spanish.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Bovey  
View profile  
 More options Aug 18 1999, 3:00 am
Newsgroups: microsoft.public.excel.sdk
From: "Rob Bovey" <Rob_Bo...@msn.com>
Date: 1999/08/18
Subject: Re: How to find a * (Ascterisc Simbol)
Hi Stalin,

    Since * is a special character, I think you'll need a custom routine to
do this. Here's a quick one I worked up:

Sub RemoveAsterisk(ByVal rngRemove As Range)

    Dim lPos As Long
    Dim rngCell As Range
    Dim szValue As String

    For Each rngCell In rngRemove
        szValue = rngCell.Value
        If Len(szValue) > 0 Then
            lPos = InStr(szValue, "*")
            If lPos > 0 Then
                rngCell.Value = Left$(szValue, lPos - 1) _
                    & Right$(szValue, Len(szValue) - lPos)
            End If
        End If
    Next rngCell

End Sub

--
Rob Bovey, MCSE
The Payne Consulting Group
http://www.payneconsulting.com
* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *

Stalin Torres <stali...@hotmail.com> wrote in message

news:#MtQf6Y6#GA.60@cppssbbsa03...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Laurent Longre  
View profile  
 More options Aug 21 1999, 3:00 am
Newsgroups: microsoft.public.excel.sdk
From: Laurent Longre <lon...@wanadoo.fr>
Date: 1999/08/21
Subject: Re: How to find a * (Ascterisc Simbol)

Use this :

Cells.Replace "~*", "", xlPart

Laurent

Stalin Torres a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Bovey  
View profile  
 More options Aug 21 1999, 3:00 am
Newsgroups: microsoft.public.excel.sdk
From: "Rob Bovey" <Rob_Bo...@msn.com>
Date: 1999/08/21
Subject: Re: How to find a * (Ascterisc Simbol)
    Uhhg, that was easy <vbg>.

--
Rob Bovey, MCSE
The Payne Consulting Group
http://www.payneconsulting.com
* Please post all responses to this newsgroup *
* I delete all unsolicited e-mail messages *

Laurent Longre <lon...@wanadoo.fr> wrote in message

news:37BEEBE2.4097825D@wanadoo.fr...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Laurent Longre  
View profile  
 More options Aug 22 1999, 3:00 am
Newsgroups: microsoft.public.excel.sdk
From: Laurent Longre <lon...@wanadoo.fr>
Date: 1999/08/22
Subject: Re: How to find a * (Ascterisc Simbol)

Do you speak a bit French, Rob? In such cases, we say : "Pourquoi faire
simple quand on peut faire compliqué?" (difficult too translate)

Laurent  :-)

Rob Bovey a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Bovey  
View profile  
 More options Aug 22 1999, 3:00 am
Newsgroups: microsoft.public.excel.sdk
From: "Rob Bovey" <Rob_Bo...@msn.com>
Date: 1999/08/22
Subject: Re: How to find a * (Ascterisc Simbol)

> Do you speak a bit French, Rob? In such cases, we say : "Pourquoi faire
> simple quand on peut faire compliqué?" (difficult too translate)

Hi Laurent,

    No, I don't speak French. But I bet the above resembles an American
expression that goes something like: "If it was a snake it would've bit me."
<g>.

--
Rob Bovey, MCSE
The Payne Consulting Group
http://www.payneconsulting.com
* Please post all responses to this newsgroup *
* I delete all unsolicited e-mail messages *


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David J. Braden  
View profile  
 More options Aug 24 1999, 3:00 am
Newsgroups: microsoft.public.excel.sdk
From: "David J. Braden" <t...@fiastl.net>
Date: 1999/08/24
Subject: Re: How to find a * (Ascterisc Simbol)
Ah, mon cher Rob, but it sounds *so* much more elegant in French. Except that it
translates into the opposite direction: "Why simplify things when you can make
them complicated?", which pretty much sums up classic French cooking,
philosophy, the language arts, and driving habits. <g>

Glad to have discovered this NG. Many thanks to you guys.  Now, back to the DLL's.

Dave Braden
newbie


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Laurent Longre  
View profile  
 More options Aug 24 1999, 3:00 am
Newsgroups: microsoft.public.excel.sdk
From: Laurent Longre <lon...@wanadoo.fr>
Date: 1999/08/24
Subject: Re: How to find a * (Ascterisc Simbol)

But, David... you... you SPEAK FRENCH !!!

IT IS A MIRACLE !!!!  :-))))))))

Laurent

"David J. Braden" a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Laurent Longre  
View profile  
 More options Aug 24 1999, 3:00 am
Newsgroups: microsoft.public.excel.sdk
From: Laurent Longre <lon...@wanadoo.fr>
Date: 1999/08/24
Subject: Re: How to find a * (Ascterisc Simbol)
"David J. Braden" a écrit :

> Ah, mon cher Rob, but it sounds *so* much more elegant in French. Except that it
> translates into the opposite direction: "Why simplify things when you can make
> them complicated?", which pretty much sums up classic French cooking,
> philosophy, the language arts, and driving habits. <g>

... and love practices  :-))))))))))

Laurent


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »