Mortadella
Member
I have run into a number of different situations editing specific cells in a macro but I am stuck on removing characters from a one cell line.
I get lists fairly often that would be terrifically useful to me if I could remove various characters from various cells.
Typically I get a line that would look like this:
100.70 The text length varies and is followed by either some letters or numbers 1000
If I need to get rid of the 100.70 I have found it's easiest to parse my stuff. I can insert characters at the beginning of a line but deleting characters seems to be beyond the fringe...
If I want to remove a bit of text from the middle of the line like 'either' I have had intermittent success if the text is in a fixed location in the cell but if it varies in length I get nowhere, so if you have any ideas on that I would be very grateful and ridding the trailing numbers is beyond me because I don't have the foggiest idea how to navigate from one end of a cells contents to the other.
I've looked all over the place but everything I've been able to find wants to add character - not take them out. I find that somewhat strange so I wonder if I'm not looking in the wrong place.
Can you help me out on this one?
Thanks!
I get lists fairly often that would be terrifically useful to me if I could remove various characters from various cells.
Typically I get a line that would look like this:
100.70 The text length varies and is followed by either some letters or numbers 1000
If I need to get rid of the 100.70 I have found it's easiest to parse my stuff. I can insert characters at the beginning of a line but deleting characters seems to be beyond the fringe...
If I want to remove a bit of text from the middle of the line like 'either' I have had intermittent success if the text is in a fixed location in the cell but if it varies in length I get nowhere, so if you have any ideas on that I would be very grateful and ridding the trailing numbers is beyond me because I don't have the foggiest idea how to navigate from one end of a cells contents to the other.
I've looked all over the place but everything I've been able to find wants to add character - not take them out. I find that somewhat strange so I wonder if I'm not looking in the wrong place.
Can you help me out on this one?
Thanks!