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

·Q½Ð±Ð¦U¦ì¤j¤jÃö©óÀx¦s®æªº°ÝÃD

·Q½Ð±Ð¦U¦ì¤j¤jÃö©óÀx¦s®æªº°ÝÃD

½Ð°Ý­n¦p¦ó¦bÂI¿ï¬Y¤@®æÀx¦s®æ®É¡A·|¤@¨ÖÂI¿ï¬Y¨Ç©T©wªºÀx¦s®æ¡H(·N«ä¬O»¡³o¨ÇÀx¦s®æªº¸ê®Æ¥²»Ý¬O³s°Êªº~~)

¨Ò¦p¡G§Ú»Ý­n¦bÂI¿ïA1®É¡AA2©MA3·|¤@°_³QÂI¿ï¡A(©Î¬OÂI¿ïA2®É¡AA1»PA3·|¤@°_³QÂI¿ï)¡A§Ú«ö¤Udelete®É¡A3®æÀx¦sªº¸ê®Æ·|¤@°_³Q§R°£¡C

¦^´_ 1# tku0216
¤u§@ªíªºµ{¦¡½X
  1. Dim Rng  As Range
  2. Private Sub Worksheet_SelectionChange(ByVal Target As Range)
  3.     Set Rng = [B3:D3]
  4.     Application.EnableEvents = False
  5.     If Not Application.Intersect(Target(1), Rng) Is Nothing Then Rng.Select
  6.     Application.EnableEvents = True
  7. End Sub
  8. Sub §R°£()
  9.     Rng = ""   '²MªÅ¤º®e
  10.     '''''''''' ¤G¿ï¤@  ''''''''''''''''''''
  11.     If Not Rng Is Nothing Then Rng.Delete (xlToLeft)     '§R°£
  12.     '''' xlUp   ¤U¤èÀx¦s®æ¤W²¾
  13.     '''' xlToleft   ¥k¤èÀx¦s®æ¥ª²¾
  14. End Sub
½Æ»s¥N½X

TOP

¯uªº..¤Ó§Ö¤F¡A¦hÁ«ü±Ð¡A§Ú¥ý§l¦¬¤@¤U¡C

TOP

SendKeys ("{delete}")
©ñ¦b..

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    SendKeys ("{delete}")
End Sub

TOP

¦^´_ 1# tku0216
play.gif
³s°ÊÀx¦s®æ.zip (8.68 KB)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦hÁ¦U¦ìªº¦^ÂСA¤p§Ì¨ü¯q­ê²L¡C

TOP

        ÀR«ä¦Û¦b : ¦a¤WºØ¤Fµæ¡A´N¤£©öªø¯ó¡F¤ß¤¤¦³µ½¡A´N¤£©ö¥Í´c¡C
ªð¦^¦Cªí ¤W¤@¥DÃD