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

[µo°Ý] ²¤Æ¥¨¶°µ{¦¡

ÁÂÁ§Aªº»¡©ú.

TOP

½Ð±Ð¥ý¶i, Set A = Intersect(.UsedRange, .Range("A:CZ")).SpecialCells(xlCellTypeVisible) ³o¬q¥D­n¬O
³]©w­n½Æ»sªº½Æ»sªº½d³ò¶Ü ? ¦³ÂIµLªk²z¸Ñ³]©w³o¤@¬q
Homeman

TOP

¦^´_ 12# homeman
Intersect ¤èªk ¶Ç¦^ Range ª«¥ó¡A¦¹ª«¥ó¥Nªí¨â­Ó©Î¦h­Ó½d³ò­«Å|ªº¯x§Î½d³ò¡C
  1. Sub Ex()
  2.     With ActiveSheet
  3.     Set isect = Application.Intersect(.Range("A1:E5"), .Range("B1:B100"))
  4.         If isect Is Nothing Then
  5.             MsgBox "¨S¦³ ¥æ¶°ªº½d³ò "
  6.         Else
  7.          MsgBox isect.Address
  8.         isect.Select     '¥æ¶°ªº½d³ò
  9.     End If
  10.     End With
  11. End Sub
½Æ»s¥N½X

TOP

§Ú¬Ý¤£©ú (¯u¨S¥Î), ¦ý¦hÁÂGBKEEªº±Ð¾É.  §Ú­n¦h¬Ý´X¦¸¾Ç²ß¾Ç²ß¤@¤U. ¥Þ

TOP

GBKEE ¥ý¶i, ÁÂÁ±z¤S¥Î³Ì²³æªº¨Ò¤l±Ð¾Ç, §Ú¤S¾Ç¨ì¤F, Thanks
Homeman

TOP

¬Ý¬Ý«e½ú¶¡ªº¹ï¸Ü¡A²`¦ö¦Û¤v¥\¦³«Ý¥[±j
¦³ªÅ·|±`¨Ó¦¹½m¥\
ÁÂÁ°Õ
ELIOT JENG

TOP

        ÀR«ä¦Û¦b : ¯u¥¿ªº·R¤ß¡A¬O·ÓÅU¦n¦Û¤vªº³oÁû¤ß¡C
ªð¦^¦Cªí ¤W¤@¥DÃD