The easiest way to get to Andorra is by bus from Barcelona, and it’s also possible to go in the morning and be back by night.
This article will tell you all you need to know about making a day trip to Andorra la Vella, including things to do in one day, best time to go, how to get around, and where to stay if you do wish to spend the night.