I'm assuming it's an s tronic gearbox. They're not cheap to replace or refurb. Second hand ones on eBay are from £1k-2.5k. The main causes for failure is due to the gearbox oil not being changed when it should. Or the module failing.
For peace of mind you could bite the bullet and get Audi to do a diagnosis.