I understand yours ronjonp, i just can't figure out how alan changed yours... i mean i understand it but understanding it and turning it into functioning code, well, you know.
anyways, I'll use yours ronjonp because i can see how to insert the variables. Will this allow me to combine acad and acaddoc into 1 routine?
thanks.