代碼:
私有子工作表_SelectionChange(ByVal目標作為範圍)
靜態a1為整數
靜態a2為整數
靜態a3為整數
如果a3 = 0,則
a1 = ActiveCell.row
a2 = ActiveCell。圓柱
如果…就會結束
a3 = 1
MsgBox a1
MsgBox a2
末端接頭
同時感謝所有回答問題的人!