I don't think I understand you
You say
just type in their sales code and their accounts come up
So if it is correct the mails are created with one sheet with the correct data for each sales person
Am I correct ?
If you have a query in the workbook it is not in the sheet you send
--
Regards Ron de Bruin
http://www.rondebruin.nl
"mdias815" wrote in message
...
I have a query to external data in my worksheet. When each new sheet is
created i need the query to update to the new sales code and then
remove the query definition
--
mdias815
------------------------------------------------------------------------
mdias815's Profile: http://www.excelforum.com/member.php...o&userid=31509
View this thread: http://www.excelforum.com/showthread...hreadid=511863