O
Odysseus
Hi, I've been landed with a rather large project to re-write som
spreadsheets for my companies reports due to a new database... oh th
joys. I have no VBA experience and some basic macro usage. I've got 2
days to re-write about 10 worksheets so I may be popping in from tim
to time to ask for some help.
My first question for today.
Can you delete part off a cell using a macro / VBA.
Example Cell from column (cost centre) :-
NTL089 N
I need to get rid of the N at the end, this could also be a Y. (yes o
no) This is used by certain departments for audit purposes so I can'
take it out of the DB export. Extra problems are that some may hav
neither and some of the cost centres end in a Y or a N.
So the Macro needs to do a
If M column cells have a N or Y to the right preceded by 2 or mor
spaces delete Y or N if not leave.
Does that make sense? Is it possible?
Thank
spreadsheets for my companies reports due to a new database... oh th
joys. I have no VBA experience and some basic macro usage. I've got 2
days to re-write about 10 worksheets so I may be popping in from tim
to time to ask for some help.
My first question for today.
Can you delete part off a cell using a macro / VBA.
Example Cell from column (cost centre) :-
NTL089 N
I need to get rid of the N at the end, this could also be a Y. (yes o
no) This is used by certain departments for audit purposes so I can'
take it out of the DB export. Extra problems are that some may hav
neither and some of the cost centres end in a Y or a N.
So the Macro needs to do a
If M column cells have a N or Y to the right preceded by 2 or mor
spaces delete Y or N if not leave.
Does that make sense? Is it possible?
Thank