Excel Snake Game VBA Macro (Advanced) Part 1/2 - playproduction.de

Excel Snake Game VBA Macro (Advanced) Part 1/2

Excel Macro Mania
Views: 4653
Like: 75
In this video we will see how to create the Snake game in Excel using VBA macros. There are many Excel versions of the Snake game on the internet. This one is probably one of the easiest way to do it, and hopefully a good example to help you learn VBA arrays while having fun with the movement of the snake in Excel. Find the Excel Snake Game file with comprehensive code in the following post of the Excel Macro Fun blog:

For more Excel VBA fun applications and games visit Excel Macro Fun:

And for other Excel VBA learning resources and applications visit any of the other blogs of the Excel Macro Mania saga:
Excel Macro Class ()
Excel Macro Business ()
Excel Macro Sports ()


  1. For those who can't make the snake move, it's because the sub bindKeys isn't called when you start the gameYou can fix this by adding the sub bindKeys on the sub StartGame, and create a new button to assign the sub freeKeys so you can unbind the arrow keys

  2. Hey the only problem is that the snake doesn't move ive done it all the only difference it that the I changes to i and i dont think that that is the problem.Can you help me please?

  3. Hi. I'm a brazilian vba programmer who just started teaching how to use OpenGL with Excel VBA.I think your game will be much better with better graphics

  4. when pressing the start game button it say "object doesn't support this property or method"

  5. I faced encounter on timer module(I use window 8(bit 64)

  6. It says compilation error: an ambiguous name has been detected: BindKeys. How do I solve it?

  7. help in the code tail =Ubound (r) it does not work

  8. Didn't realize it was that easy to make snake game in vba. Brilliant teaching btw, super clear explanation

  9. main reason why many people are making mistake is , this teacher also made mistake , on 5:48 . i hope he will see and correct it

  10. To move snake in video script, you guys have to add "Keys.bindKeys" to final line of StartGame procedure, and in movesnake procedure, have to finish conditional statements "end if"

  11. I get an error that I need to put End If and my snake does not move

  12. did you press any botons to move the snake ?

  13. How would I contact you? Do you have an email address?

  14. Why do i have a yellow line word on the Sub ShowSnake () ?

Leave a Reply

Your email address will not be published.