Originally Posted by
wali
if i have list of entries in column A, i would like to delete the "spaces" from each cell in column A, if the cell begins with "space". Only the "space" at the beginning should be deleted but not the "space" in the middle of entry or at the end and the entry in cell itself should remain but only the beginning "space" should get away.
or
if i have list of entries in column A, i would like to delete the "," from each cell in column A, if the cell begins with ",". Only the "," at the beginning should be deleted but not the "," in the middle of entry or at the end and the entry in cell itself should remain but only the beginning "," should get away.
or
if i have list of entries in column A, i would like to delete the "ff" from each cell in column A, if the cell begins with "ff". Only the "ff" at the beginning should be deleted but not the "ff" in the middle of entry or at the end and the entry in cell itself should remain but only the beginning "ff" should get away.
Now each time i can give the requirment before running the macro, if i want the "space"; ","; "ff" or even other letter or symbol to be deleted from the beginning of the cells.
Bookmarks