1、函数不是用来存放信息的,是用来处理信息的。2、要根据坐标不同调用不同函数,你可以写一个主函数,再写几个不同的子函数。示范如下:Private Sub 坐标调用主程序(x As Long, y As Long)If x > 100 And y > 100 Then Call 调用1(x, y)If x > 100 And y < 100 Then Call 调用2(x, y)'N个条件自己添加,对应N个调用函数End SubPrivate Sub 调用1(x As Long, y As Long)'程序省略End SubPrivate Sub 调用2(x As Long, y As Long)'程序省略End Sub