- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
        
|
¦^´_ 1# myleoyes
Find (´M§ä) ¿ï¶µ³]©w¨S«ü©w²M·¡
VBAªº»¡©ú¦³»¡
³Æµù
¨C¦¸©I¥s¥»¤èªk«á¡A±NÀx¦s LookIn¡BLookAt¡BSearchOrder ¤Î MatchByte ªº³]©w¡C¦pªG¤U¤@¦¸©I¥s®É¥¼«ü©w³o¨Ç¤Þ¼Æ¡A±N¨Ï¥ÎÀx¦sªº³]©w¡C³]©w³o¨Ç¤Þ¼Æ±N§ïÅÜ [´M§ä] ¹ï¸Ü¤è¶ô¤¤ªº³]©w¡A¦Óקï [´M§ä] ¹ï¸Ü¤è¶ô¤¤ªº³]©w¡A¤]±N§ïÅܨt²Î¦b¬Ù²¤³o¨Ç¤Þ¼Æ®É©Ò¨Ï¥ÎªºÀx¦sÈ¡C¬°ÁקK¥X²{³Â·Ð¡A¨C¦¸©I¥s¥»¤èªk®É¡A½Ð©ú½T«ü©w³o¨Ç¤Þ¼ÆªºÈ¡C
´M§äÀx¦s®æªº¤º®e LookIn:=xlValues
´M§äÀx¦s®æªº¤½¦¡ LookIn:=xlFormulas)
µ{¦¡«áºÝ ¦³¨â³B Find (´M§ä) ¿ï¶µ³]©w¬°xlValues ¦p¤U
§ä¨ì¤u§@¤Ñ()
With Sheet1
Set Rng = .Cells.Find(Format(Date, "[$-404]m/d"), LookIn:=xlValues, LookAt:=xlWhole)
Sub §ä¨ì¤µ¤Ñ()
With Sheet2
Set Rng = .Cells.Find(Format(Date, "#,##0 "), LookIn:=xlValues, LookAt:=xlWhole)
¾ÉP«·s¦A°õ¦æ®É§ä¤£¨ì¶}©lµn¤J¦ì¸m¤Î²×¤îµn¤J·|²£¥Í¿ù»~
×¥¿¤U¨â³Bµ{¦¡½X¥i§ïµ½
Set Age_Rng(1) = Age_Rng(0).Find(Age, LookAt:=xlWhole, LookIn:=xlFormulas) ¤½¦¡ªºÈ
Set Age_Rng(2) = Age_Rng(0).Find(Age, LookAt:=xlWhole, LookIn:=xlFormulas) ¤½¦¡ªºÈ |
|