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

[µo°Ý] Activecell°ÝÃD

[µo°Ý] Activecell°ÝÃD

§Ú·Q°Ý, ±q¤@­Ótable§ä¥X³Ì¤jªº­È
µM«á ·Q¥O§ä¥X¨Óªº³Ì¤j­È¬°activecell,
§Ú·Q­nª¾¹D³o­Óactivecellªº¦ì¸m¸ê°T(«üªº¬O³o­Ó­È¦btable¸Ìªº¸ê°T),¥H«K«áÄò§@·~

­ì¨Ó¬O³o­Ó¼Ë¤lbaa¨ü±Ð¤F...

TOP

ÁÂÁÂHsieh¤j¤j, §Úª¾¹D°ÝÃDÂI¤F!!!

TOP

¦^´_ 12# Helain


    ¥H§Aªº²{¦³¼Æ¾ÚB7:D10ªº³Ì¤j­È99
¦C¸¹¬O9
Ä渹¬O2
¦Ó§AªºOFFSET­ìÂI¬OB13
B13¦V¤U9¦C¦V¥k2Äæ§A»¡·|«ü¨ì­þ­Ó¦ì¸m?
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ Helain ©ó 2011-11-4 17:28 ½s¿è

­ì¨Ó¦bVBA ¤£¯à¨Ï¥ÎOFFSET¨ç¼Æ

§Ú¤w¸gªþ¤WÀɮפF, ¤£ª¾¹D­þÃ䦳°ÝÃD

Test123.rar (11.86 KB)

TOP

¦^´_ 8# Helain


    VBA¤¤ªºOFFSET»P¤u§@ªí¨ç¼ÆªºOFFSET¤£¥i²V²c
¦bVBA¤¤¤£¯à¨Ï¥Î¤u§@ªí¨ç¼ÆªºOFFSET
¥²¶·¼g¦¨
Cells(1, 1).Value = Cells(13, 2).Offset(myRange.Find(a, , xlValues, 1).Row, myRange.Find(a, , xlValues, 1).Column)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 6# Helain

¹Ï1  §ó§ï 2­Óªº¿ï¶µ  ¿ý»s¥¨¶° ¬Ý¬Ýµ{¦¡½XªºÅܤÆ


¹Ï2 vba µøµ¡¤¤  «ö¤U F8 ³v¦æ°õ¦æ«á, ±N·Æ¹«²¾¨ì ¬õ®Ø¤¤ªº°Ñ¼Æ ¥i¥H¬Ý¨ì ¦p½bÀY«ü¥Üªº  °Ñ¼Æ=¼Æ¦r

TOP

¦^´_ 7# oobird


    ÁÂÁÂ

TOP

¥i¥H¥ÎOffset¨ç¼Æ¶Ü?
Cells(1, 1).Value = Application.WorksheetFunction.Offset(Cells(13, 2), myRange.Find(a, , xlValues, 1).Row, myRange.Find(a, , xlValues, 1).Column)
­Y·Q­n¨ú±oÄæ,¦C¸ê°T¶ñ¤J, ³o¼Ë¬O­þÃ䦳°ÝÃD©O?

TOP

Find´N¬O´M§ä
§ä¨ì³Ì¤j­Èªº¦ì¸m
xlValues¬O§ä­È¡A¤£­n§ä¤½¦¡¡C¤º©w­È¬O§ä¤½¦¡ªº¡A©Ò¥H­nµù©ú¡I
­È±oª`·Nªº¬O©pªº¤p¼Æ¦ì¼Æ³]¬°6¦ì¡A©Ò¥H³Ì¤j­È­n¥ÎRound¨ç¼Æ¨ú¨ì¤p¼Æ6¦ì¤~§ä±o¨ì¡C

TOP

        ÀR«ä¦Û¦b : ¡i°±º¢¤£«e¡A²×µL©Ò±o¡j¤H³£°g©ó´M§ä©_ÂÝ¡A¦]¦Ó°±º¢¤£«e¡FÁa¨Ï®É¶¡¦A¦h¡B¸ô¦Aªø¡A¤]¤FµL¥Î³B¡A²×µL©Ò±o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD