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

Àx¦s®æ¸Ìªºµù¸Ñ

Àx¦s®æ¸Ìªºµù¸Ñ

½Ð±Ð:
¥ÎVlookup§ä¥XªºÀx¦s®æ¤º®e, ¦p¦ó¤~¯à±Nµù¸Ñ¤]¤@°_±a¹L¨Ó ?
¬O§_¦³¨ç¼Æ¥i¥H¥Î?
fangac

¦^´_ 1# fangsc
VLOOKUP¶Ç¦^¨Ã«DÀx¦s®æª«¥ó¡A¦Ó¬OÀx¦s®æªº­È
¤º«Ø¨ç¼ÆµLªk¨ú±oµù¸Ñ¤º®e¡A¼g­Ó¦Û©w¸q¨ç¼Æ¸Ñ¨M

µù¸Ñ¤å¦r.zip (6.2 KB)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 2# Hsieh

·PÁª©¥Dªº«ü¾É.
¦pªG¥ÎVBA¥i¥H±Nµù¸Ñª½±µ¥[¦b¥Ø¦aÀx¦s®æªºµù¸Ñ¸Ì¶Ü?

µù¸Ñ¤å¦r.zip (8.89 KB)

fangac

TOP

¦^´_ 3# fangsc

¤£À´§Aªº·N«ä¡A­n¥ÎVBA¥[¤JÀx¦s®æµù¸Ñ·íµM¥i¦æ
  1. Sub nn()
  2. If Range("C3").Comment Is Nothing Then 'C3Àx¦s®æ¨S¦³µù¸Ñ
  3.   Range("C3").AddComment "TEST"  ''C3Àx¦s®æ¥[¤Jµù¸Ñ
  4.   Else  '§_«h
  5.    Range("C3").Comment.Text Range("C3").Comment.Text & Chr(10) & "addtext"  '¥[¤Jµù¸Ñ¤å¦r
  6. End If
  7. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 4# Hsieh

¹ê¦b©êºp,§Ú¨S¦³»¡²M·¡,®ö¶O¤F§Aªº®É¶¡.
¦b¥Îvlookup¤§«á, ·Q¦Arunµ{¦¡±N¨Ó·½¸ê®Æ¸Ìªºµù¸Ñ¥[¶i¥Ø¦a¸ê®ÆªºÀx¦s®æ¸Ì.
·PÁ§A.

µù¸Ñ¤å¦r.rar (8.09 KB)

fangac

TOP

¦^´_ 5# fangsc

¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 6# Hsieh

¹ï¤£°_,§ÚÁÙ¬O¨Sªí¹F²M·¡.
    ¦b¥Îvlookup¤§«á, ·Q¦Arunµ{¦¡±N¨Ó·½¸ê®Æ¸Ìªºµù¸Ñ¥[¶i¥Ø¦a¸ê®Æ  "Àx¦s®æªºµù¸Ñ" ¸Ì.
     (´N¬O§â¨Ó·½¸ê®Æªºµù¸Ñ,±a¶i¥Ø¦a¸ê®ÆÀx¦s®æªºµù¸Ñ¸Ì)
©êºp & ·PÁÂ...
fangac

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2012-8-23 09:55 ½s¿è

¦^´_ 7# fangsc
  1. Sub ex()
  2. Dim Rng As Range, A As Range
  3. For Each A In Range("J4").CurrentRegion.SpecialCells(xlCellTypeFormulas)
  4. If A.FormulaLocal Like "=VLOOKUP(*,*,*,*)" Then
  5.   ar = Split(Replace(Replace(A.FormulaLocal, "VLOOKUP(", ""), ")", ""), ",")
  6.   Set Rng = Range(ar(1))
  7.   k = Application.Match(Range(ar(0)), Rng.Columns(1), 0)
  8.   If Not A.Comment Is Nothing Then A.Comment.Delete
  9.   If Not Rng(k, Val(ar(2))).Comment Is Nothing Then
  10.     A.AddComment Rng(k, Val(ar(2))).Comment.Text
  11.   End If
  12. End If
  13. Next
  14. End Sub
½Æ»s¥N½X
µù¸Ñ¤å¦r.zip (12.29 KB)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

·PÁª©¥D,¥Ø«e¥i¥H¥Î¤F.
¤£¹L,¬Ý°_¨Ó¦³ÂIÃø,§Ú±o¦A¿Ä·|³e³q¤@¤U,
¤~¯à¹B¥Î±o¦n¤@¨Ç.
fangac

TOP

¦^´_ 8# Hsieh

Dear Hsieh,
¦­¦w¡I½Ð±Ð¤@¤U¡A­Y¨Ó·½¸ê®Æ¬O¥t¤@­Ó¤u§@ªí¡A¨º»yªk­n§ïÅÜ­þ¸Ì©O¡H
µù¸Ñ¤å¦rV2.zip (13.89 KB)

ÁÂÁ±z¡I¡I
Just do it.

TOP

        ÀR«ä¦Û¦b : ¶¢¤HµL¼Ö½ì¡A¦£¤HµL¬O«D¡C
ªð¦^¦Cªí ¤W¤@¥DÃD