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

[µo°Ý] ¤@Ãä¿é¤J¤@Ãä§Y®É¤ñ¹ï

¥Î¿ù¨Æ¥ó¤F¡C
  1. Private Sub Worksheet_Change(ByVal Target As Excel.Range)
  2.     If Target.Column <> 5 Then Exit Sub
  3.     If Target.Count > 1 Then Exit Sub
  4.     If Sheets("DATA").[b:b].Find(Target, , , 1) Is Nothing Then
  5.         Application.EnableEvents = False
  6.         Target.Offset(, -3) = "?"
  7.         Target.Offset(, -3).Font.ColorIndex = 3
  8.         Application.EnableEvents = True
  9.     End If
  10. End Sub
½Æ»s¥N½X

TOP

Worksheet_SelectionChange¬O¦bÂIÀ»Àx¦s®æ´Nµo¥Íªº¨Æ¥ó
¤£¾A¦X§A¦b¼g¤JÀx¦s®æ¤~­n§PÂ_°õ¦æ¥ô°È
©Ò¥H­n ¼g¦bWorksheet_Change¨Æ¥ó¤¤¡C
§ï¹L«á­n²M°£¼g¤Jªº°Ý¸¹¡G
Target.Offset(, -3) = "?"
Target.Offset(, -3).Font.ColorIndex = 3
ELSE
Target.Offset(, -3) = ""
Target.Offset(, -3).Font.ColorIndex = 0
  
      Application.EnableEvents = True
    End If
¥[¤W¬õ¦r³¡¥÷

TOP

§Ú¹B¦æ¬Ookªº¡C§A­n¤£­n§âµLªk¹B¦æªºÀɮתþ¤W¨Ó¡H

TOP

        ÀR«ä¦Û¦b : «Î¼e¤£¦p¤ß¼e¡C
ªð¦^¦Cªí ¤W¤@¥DÃD