database - I have a excel file and want to delete some data before the first <br /> tag -
donkeys <a href="#">also</a> humans <br /> hello hello hello <br /> hey hey hey
i want delete
"donkeys <a href="#">also</a> humans <br />"
--- > part
but upto first <br /> tag not scond or third ...
need function or anything
its first day excel.
using vba here sample code. hope helps.
sub sample() dim str_val string dim start long str_val = "donkeys <a href=""#"">also</a> humans <br /> hello hello hello <br /> hey hey hey" start = instr(1, str_val, "<br />", vbtextcompare) + len("<br />") msgbox right(str_val, len(str_val) - start) end sub
Comments
Post a Comment