>Its quite powerful and could have many applications. Thanks again.
Well, the messages you usually see around here are how NOT to use macro expansion - but there are indeed cases where it can save you a lot of coding.
The execution time is more relevant in some places than in others - for instance, it becomes very relevant in a tight loop, where the same command could be executed thousands of times.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)