I remember the same message error last week occurred about a variable not declared... but this time the highlight is on the MID command. It doesn't happen on my computer, only happen on another one.
P.S.: Service Pack 2 is installed on both computers.