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

¦p¦ó¦bsheet1¿é¤J¸ê®Æ«ü©w¨ìsheet2©Îsheet3

¦^´_ 2# flutist

«Øij§âªþÀɶǤW¨Ó
³o¼Ë¨ä¥L¤j¤j­Ì¤~¤ñ¸ûª¾¹D°ÝÃDÂI¦b­þ
ªþ±a¤@´£

±z©Ò¸ß°Ýªº°ÝÃD½×¾Â¤º¦³Ãþ¦ü©«
¥i¥H·j¯Á¬Ý¬Ý

  ¦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

test.rar (7.7 KB)

¦U¦ì¤j¤j¡A§Ú¤W¶ÇªþÀɤW¨Ó¤F
½Ð°Ý¦p¦ó§ó¥¿¡H
­è­è¥Î·j¯Áªº§äsheetªº¬ÛÃö°ÝÃD¡AÁÙ¬O¨S¬ÝÀ´

TOP

¥»©«³Ì«á¥Ñ mark15jill ©ó 2012-11-21 14:42 ½s¿è

¦^´_ 4# flutist

§A³o·|¦³´X­Ó°ÝÃD..
1.¬Û¦P¼t°Ó¡G
    ¦pªG¤µ¤Ñ   Sheet2©M Sheet3 ¦P®É¦³  ©° ¼t°Ó §A­n§PÂ_­þ­Ó???
2.¶µ¥Ø¨S¦³¡G
   ¤S©ÎªÌ ³£¨S¦³¦b¸Ì­± ¨º­n§PÂ_?
3.§PÂ_¦C¼Æ¡G
    ­Y¨Ì·ÓªþÀɪº¸Ü¡A³£¬O¦b²Ä8¦C(¾î)¡A¬O­n¥H¨º­Ó¬°°ò·Ç?

  ¦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

¦^´_ 12# flutist
  1. Option Explicit
  2. Sub «ö¶s1_Click()
  3.     Dim Sh As Variant,¤ë¥÷ As Range, ¼t°Ó As Range
  4.     For Each Sh In Array("Sheet2", "Sheet3")  '¤u§@ªíªº°}¦C
  5.         With Sheets(Sh)
  6.             Set ¤ë¥÷ = .Range("A8", .Range("A8").End(xlToRight)).Find(Sheets("Sheet1").[a2], LookAT:=xlWhole)
  7.             Set ¼t°Ó = .Range("A8", .Range("A8").End(xlDown)).Find(Sheets("Sheet1").[B2])
  8.             '«Å§i¤ë¥÷,¼t°Ó¬°Range(ª«¥ó),¦ýFind¦p§ä¤£¨ì(ª«¥ó)¬°Nothing
  9.             If Not ¤ë¥÷ Is Nothing And Not ¼t°Ó Is Nothing Then
  10.                 Sheets(Sh).Cells(¼t°Ó.Row, ¤ë¥÷.Column) = Sheets("Sheet1").Range("C2")
  11.             End If
  12.         End With
  13.     Next
  14. End Sub
½Æ»s¥N½X

TOP

¥»©«³Ì«á¥Ñ flutist ©ó 2012-11-21 16:03 ½s¿è

·PÁª©¥DGBKEE ¤j¤j¸Ñ¨M§Úªº°ÝÃD¤F:)

TOP

        ÀR«ä¦Û¦b : ¤â¤ß¦V¤U¬O§U¤H¡A¤â¤ß¦V¤W¬O¨D¤H¡F§U¤H§Ö¼Ö¡A¨D¤Hµh­W¡C
ªð¦^¦Cªí ¤W¤@¥DÃD