go to any length

go to any length(s)

To do anything necessary to accomplish or attain something. I will go to any length to get an A in this class, professor—I'll clean your office, wash your car, anything! Go to any lengths you need to, just get me a reservation for this Saturday night!
See also: any, go

go to any length

Fig. to do whatever is necessary. (See also go to great lengths (to do something).) I'll go to any length to secure this contract. I want to get a college degree, but I won't go to any length to get one.
See also: any, go, length

go to any length

Also, go to great lengths. Take a great deal of trouble for something, go to extremes. For example, He'll go to great lengths to make a perfect chocolate cake, or, as Benjamin Disraeli put it in Coningsby (1844): "He would go ... [to] any lengths for his party."
See also: any, go, length
References in classic literature ?
Dag Daughtry's face hardened unconsciously with the stiffening of his will to dogged opposition, which, in its own slow quiet way, would go to any length to have its way.
She also discovers that those closest to her will go to any length necessary to steal her fortune.
Needless to say, the powers that be are definitely angry at such uprisings, and are willing to go to any length to destroy them.
Meanwhile, the company is ready to go to any lengths to keep her quiet.
In her latest movie, ``Election,'' the 23-year-old actress plays an ultra-ambitious high school senior, Tracy Flick, who will go to any lengths to become class president.