I started with VBA today and I'm making snake.
I have encountered a slight problem: excell doesn't really have an easy key detection method
what's the best way of dealing with this problem?
if you are going to answer: use the onkey method:
I can't make this work because I need a new sub in which I want to give my direction array
(dim direction(2) as integer direction(1) being the x movement direction(2) being the Y movement)
this doesn't work because the new sub can't edit another sub's variables
How could I make that work?