Sheet1 的事件程式碼 : 輸入序號 或用下拉式選單 直接秀出公司名稱
Private Sub Worksheet_Change(ByVal Target As Range)
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
以上的2程序是針對 Sheet1 而寫的, 要放到Sheet1.
ThisWorkbook 事件
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)