![]() |
Delete characters up to ":"
Ok Dave, playing around with it to see what I get. Thanks for the help. :)
Robbyn |
Delete characters up to ":"
Okay Dave. Can't sleep so played around with your code, and it most definitely works when I use activeCell. But the following code doesn't
Sub textme( Dim myStr As Strin Dim colonPos As Lon Dim cell As Rang For Each cell In Range("a1:a15" myStr = cell.Valu colonPos = InStr(1, myStr, ":" If colonPos 0 The myStr = Mid(myStr, colonPos + 1 End I Next cel End Su Any idea why? (thanks again Robbyn |
Delete characters up to ":"
Please disregard post. Figured out my problem. :
Robbyn |
All times are GMT +1. The time now is 07:53 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com