I have expanded the code to include operations on start/end segments if "S"egment option is chosen...
I'll attach file because now it's much larger...
Regards, M.R.
PKENEWELL, yes you're right... Simply, I don't have 4 eyes, so thanks for revisions...
M.R.
Above posted code finally updated... See if you can use it - I've put it in my start-up suite... Please, reply if you're satisfied or you have some bug that I missed...
Sincerely, M.R.
8-)