Compilation error in Microsoft Excel

Hello experts,
Now the computer recognizes the image with the general driver microchip like a communication port (COM6).
Also I tried to start the two macros of attached code here. But it is not working.
When I try to Open Office then the program collides.
In Microsoft Excel I find compilation error message.
Please help me to solve it.
Thanks a lot.

Microsoft Visual Basic
Error de compilacion
No se ha definidio Sub o Function
Aceptar Ayuda
