
Originally Posted by
leelnich
@Marc L - Your implication of ownership notwithstanding:rolleyes
You misread or misunderstood
As for years within this forum I've never have seen some helper sharing a VBA procedure following 'the kid way' (1)
so one day I posted a code changing from the usual answers
Few days later, another thread with a similar subject, the same helpers sharing their same slower ways
So I shared again the same way
The same during months, maybe years
So now you should be able to understand why I'm happy with Sintek's post !
What is the best code ? The faster ? Maybe if it's a speed challenge
but usually the best code could not be the faster but the one the OP can maintain himself
(1) Why I called it 'the kid way' ?
'cause one day in a company the team had to attend to a presentation with its author,
you know the kind of guy when there is an issue he's never involved
but when something works that's thanks to him even if he never worked on the project,
so proud he was with its last project (so boring it was in fact)
and at the end he launched via a button a 'cleaning' VBA procedure removing rows
which was lasting for ages, more than ten minutes, so the director which was the final user
became red and started to shout how unhappy he was !
Then the miracle started : we heard a little young voice arguing
« I don't understand it can be so long as manually that should not take no more than two minutes, maybe one ! »
This voice was the one of a 'summer job' young guy. So the director asked for a demonstration
and the 'kid' did the same than the VBA procedure within a minute, all operating manually !
So from that day I decided to try to first see what Excel offers first before going to a full looping VBA code
Bookmarks