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

³QÁôÂêº sheet ­n¦p¦ó½Æ»s¶K¤W¸ê®Æ

³QÁôÂêº sheet ­n¦p¦ó½Æ»s¶K¤W¸ê®Æ

  1. Sub History1()

  2.     SheetShow
  3.     Application.ScreenUpdating = False
  4.    
  5.     If Sheets("list").Range("A6") = "" Then Exit Sub
  6.    
  7.     Sheets("List").Select

  8.     Range("L5:L20000").Select
  9.     Selection.Copy
  10.     Sheets("WorkTime").Select
  11.     Range("I21").Select
  12. SheetShow
  13.     ActiveSheet.Paste

  14.     SheetShow
  15.     Application.ScreenUpdating = False
  16.     Sheets("List").Select
  17.     Range("A5:F5").Select
  18.     Range(Selection, Selection.End(xlDown)).Select
  19.     Selection.Copy
  20.     Sheets("WorkTime").Select
  21.     Range("A21").Select
  22. SheetShow
  23.     ActiveSheet.Paste
  24.    
  25.     SheetShow
  26.     Application.ScreenUpdating = False
  27.     Sheets("List").Select
  28.     Range("I5:J5").Select
  29.     Range(Selection, Selection.End(xlDown)).Select
  30.     Selection.Copy
  31.     Sheets("WorkTime").Select
  32.     Range("G21").Select
  33. SheetShow
  34.     ActiveSheet.Paste

  35. End Sub
½Æ»s¥N½X

ÁÂÁÂmark15jill ªº«ü¾É, §Ú¦A¸Õ¤@¤U¬Ý¬Ý

TOP

¥»©«³Ì«á¥Ñ mark15jill ©ó 2015-3-19 01:16 ½s¿è
sghsgh1111 µoªí©ó 2015-3-19 01:00
  1.     Sheets("List").Range("L5:L20000").Copy
  2.     Sheets("WorkTime").Range("I21").PasteSpecial
½Æ»s¥N½X
Application.ScreenUpdating = False ¥u­n¦b¤@¶}©lÃö±¼  µ¥¨ì³Ì«á§A·Q¶}¦b¶}  ¤£¥Î¤@ª½­«½ÆÃö³¬...

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

        ÀR«ä¦Û¦b : ¯u¥¿ªº·R¤ß¡A¬O·ÓÅU¦n¦Û¤vªº³oÁû¤ß¡C
ªð¦^¦Cªí ¤W¤@¥DÃD