Grabbing string values from the end of a string of an unknown length
- From: "Mark Stephens" <mark@xxxxxxxxxxxxx>
- Date: Mon, 7 Jul 2008 21:37:40 +0800
Hi,
I have 3 cells containing string values:
Classification_Asset Class
Classification_Risk Classification
Classification_Geographical Breakdown
I want to tell the code to look in each cell along a row until it finds the
string value: Classification_
Whsn it find it i then want it to pass the rest of the string to another
variable, something like this:
Dim sFirstStringValue As String
Dim sSecondStringValue As String
sFirstStringValue = "Classification_"
sSecondStringValue = Everything thatcomesafterfiststringvalue
Help much appreciated,
Regards, Mark
.
- Follow-Ups:
- Re: Grabbing string values from the end of a string of an unknown length
- From: Rick Rothstein \(MVP - VB\)
- RE: Grabbing string values from the end of a string of an unknown leng
- From: Mike H
- Re: Grabbing string values from the end of a string of an unknown length
- From: Don Guillett
- Re: Grabbing string values from the end of a string of an unknown length
- Prev by Date: Re: Positioning datalabels
- Next by Date: RE: Little help with "Number stored as Text"
- Previous by thread: RE: changing views from outlok to excel VB Help
- Next by thread: Re: Grabbing string values from the end of a string of an unknown length
- Index(es):
Relevant Pages
|