ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[¤À¨É] ¤@­Ó¸ê®ÆÅçÃÒ,¥þ­¶³q¦æ

[¤À¨É] ¤@­Ó¸ê®ÆÅçÃÒ,¥þ­¶³q¦æ

¤@±isheet¥u¦w±Æ¤@­Ó¤U©Ô¦¡²M³æ,¦ý¦b¥ô¦ó¦ì¸m,³£¥i¥H¥X²{§A·Q­nªº²M³æ
¤U¨ÒÅý§Aselect"AÄæ",¤U©Ô¦¡²M³æ¬O"dataA"
¤U¨ÒÅý§Aselect"BÄæ",¤U©Ô¦¡²M³æ¬O"dataB"
¤U¨ÒÅý§Aselect"CÄæ",¤U©Ô¦¡²M³æ¬O"dataC"......
·íµM,§A¥ý­n³]©wdataA,dataB,dataC

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
      
      ActiveSheet.UsedRange.Validation.Delete
      Application.EnableEvents = False
      
      Select Case Target.Column
      Case 1
          Target.Cells(1).Validation.Add Type:=xlValidateList, Formula1:="=dataA"
      Case 2
          Target.Cells(1).Validation.Add Type:=xlValidateList, Formula1:="=dataB"
      Case 3
          Target.Cells(1).Validation.Add Type:=xlValidateList, Formula1:="=dataC"
      End Select
      
      Application.EnableEvents = True

End Sub
lmh

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD