Have you tried the macro recorder to see what code is generated when you dothe process manually?It is never great code, but it may give you an idea of what is needed.