Duke is a dog that gets very excited to go for walks. I have successfully (most of the time) trained to him sit before he ever gets to go outside. He normally get quite excited and then in a second realizes that he needs to sit. I did many of the things below without realizing it.
Five things to do when your dog gets overexcited before a walk- by Whole Dog Journal
1. Exercise First
2. Teach them to "Say please"
3. Pick up your dog's leash throughout the day-
4. Use negative pusnishment-
5. Reduce the signifiance of other "walk cues".
To learn more about this subject how to implement these things read more at Whole Dog Journal.
Make sure you are reading to walk with dog harnesses and dog collars.