| 发表于:2007-04-10 16:51:325楼 得分:0 |
private sub worksheet_change(byval target as range) dim temp() as string if target like "gx(*,*) " then temp = split(split(split(target, "( ")(1), ") ")(0), ", ") sheets(temp(0)).[a1] = temp(1) target = " " end if end sub 用法: sheet1单元格中键入gx(sheet3,2345),回车 | | |
|