Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
find and replace text
if i have a image that is located at a location like this
http://www.website.com/site/images.p...ghi/DTT900.jpg i just want DTT900.jpg but the same find and replace has to work for something like this: http://www.doba.com/site/images.prod...pics/1/160.jpg and return 160.jpg so basically i need it to find the last "/" then return anything after that. Thanks in advance |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
find and replace text
After you get your hyperlink as text, you can use something like:
strHTTP = "http://www.website.com/site/images.products/2/PSproduct_pics/delonghi/DTT900.jpg" arrPath = Split(strHTTP, "/") strImageName = arrPath(UBound(arrPath)) MsgBox strImageName Steve "choice" wrote in message ... if i have a image that is located at a location like this: http://www.website.com/site/images.p...ghi/DTT900.jpg i just want DTT900.jpg but the same find and replace has to work for something like this: http://www.doba.com/site/images.prod...pics/1/160.jpg and return 160.jpg so basically i need it to find the last "/" then return anything after that. Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Find & replace with text | Excel Discussion (Misc queries) | |||
Replace can't find text | Excel Discussion (Misc queries) | |||
find text in cell and replace it with part of the text in that ce. | Excel Discussion (Misc queries) | |||
Find & Replace in Text Box | Excel Discussion (Misc queries) | |||
Find and Replace Text | Excel Programming |