shasunder has shown you how to actually rename the Objects, but you're looking to change object names within your queries. It can be done with VBA, but I would suggest that you buy a copy of Rick Fisher's Find and Replace and use that utility. This is a must-have for Access developers anyway, and can save you a LOT of work:
www.rickworld.com