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

¥i¥H½Ð±Ð·íÄæ¦ì¤£¬O©T©w¦b¤@­Ó¦ì¸m§Ú­n¦p¦ócopy¨ì²Ä2¬¡­¶

§Ú¤]¨Ó½m²ß¤@¤U
  1. Sub ex2()
  2.     Dim A As Range
  3.     With Sheet1
  4.         Set A = .Cells.Find("¤u¥O", lookat:=xlWhole)
  5.         If Not A Is Nothing Then
  6.             Set t = A.CurrentRegion
  7.             t.Offset(0, 1).Resize(t.Rows.Count, 1).Copy Sheet3.[A1]
  8.             t.Offset(0, 3).Resize(t.Rows.Count, 1).Copy Sheet3.[B1]
  9.         End If
  10.     End With
  11. End Sub
½Æ»s¥N½X
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 9# hu0318s

¦pªG¤£¬O¾ã»ôªº¸ê®Æ¶ô¡A¥u¯à¹³10#GBKEE¤jªº¤è¦¡¡A¤@¯ë±¡ªpÀ³¸Ó¬O¤ñ¸û¤Ö³o¼Ë©ñ¸ê®Æ
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 13# GBKEE

GBKEE¤j Æg¡A ·PÁ«ü±Ð¡A¤S¾Ç¤@©Û

AR = Array("¤u¥O", "«~¦W", "MRP®Æ»ô¤é") ±N­n§äªº©ñ¦b°}¦C¤¤¡A±N¯àµ{¦¡½Xºc¬[¤Æ«á´N¯à¼u©Ê¬d¸ß¡C
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

        ÀR«ä¦Û¦b : ¯à·F¤£·F¡A¤£¦p­W·F¹ê·F¡C
ªð¦^¦Cªí ¤W¤@¥DÃD