I've got some code that works perfectly fine, but I wanted to add something to it. So I made one of my functions return a value. But, no matter what I return, I get the "Compile error Expected: end of statment" msgbox appearing.
I eventually did this to my code, and I still get the error. Can someone please explain this?
Public Function Addresses() As Integer
return 1
End Function