Re: finding a value in a string
From: icestationzbra (icestationzbra.19cjfa_at_excelforum-nospam.com)
Date: 07/13/04
- Next message: Bernie Deitrick: "Re: Excel freeze menu and toolbar"
- Previous message: nowfal: "convert to database"
- In reply to: Frank Kabel: "Re: finding a value in a string"
- Next in thread: Frank Kabel: "Re: finding a value in a string"
- Reply: Frank Kabel: "Re: finding a value in a string"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 13 Jul 2004 14:05:36 -0500
sorry if i was not clear in my earlier posting.
if you see the filenames that i have mentioned, there is a number
within the last 5-6 characters. thats the only number that keeps
changing (1, 2, 3, 4, 5, 6, 7) within all the filenames that i have
given. thats a sort of version number and thats what i am looking to
extract.
for example, in "ABC DEF123 IJK V7.xls", '7' is what i am looking to
extract. in "ABC_DEF123_IJK_V5.0.xls", '5' is what i am looking to
extract.
if the UDF extracts everything from the string, i might still have to
do some drudgery. some filenames are as long as 100 characters with
several numbers in them.
however, there is one condition that almost 95% of the strings would
adhere to. to the left of ".xls", if the first numeric character that
is greater than zero could be picked, that would be the number i am
looking for.
please help.
--- Message posted from http://www.ExcelForum.com/
- Next message: Bernie Deitrick: "Re: Excel freeze menu and toolbar"
- Previous message: nowfal: "convert to database"
- In reply to: Frank Kabel: "Re: finding a value in a string"
- Next in thread: Frank Kabel: "Re: finding a value in a string"
- Reply: Frank Kabel: "Re: finding a value in a string"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|