Move Data Up One Row and Add On to Existing
If the data to be moved has anywhere from 3 to 19 leading spaces, how can 20
leading spaces be removed? Or are you saying that if it has as much as 3,
then it must have 20+ leading spaces? Please post back and clarify. HTH
Otto
"Dennis" wrote in message
. com...
I've been struggling with this one for a day. The following data is is in
Column A.
(GOLD)JOB/402/ATTBYE
DBDATA 30450 30
What I'm trying to to accomplish is to move data that starts with 3 or
more
spaces to the row right above it and tacked on to the data in that row and
then remove 20 of the spaces off the beginning of the data that was moved
.
After this is done the following would be the result and in column A....
(GOLD)JOB/402/ATTBY DBDATA 30450 3
I have about 20,000 rows of data to go thru and have processed if it finds
data that starts with more than 3 spaces in Column A.
TIA....Dennis
===================
|