TolpuddleSartre:
You've got function and a variable called "Dim"
Ah, thank you. I commented out the variable and it compiled. I was probably doing something wrong but I recall the error codes saying it that "Dim" wasn't named... that's why I listed it as a variable.
Thank you all very much, I learned something new today