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

[µo°Ý] vlookup³t«×ºC¡A¨Ï¥Îvba¨ú¥Nªºµ{¦¡½X

[µo°Ý] vlookup³t«×ºC¡A¨Ï¥Îvba¨ú¥Nªºµ{¦¡½X

·í¹J¨ì¸ê®Æ¶q¤Q´X¸Uµ§ªº±¡ªp¤U¡A¨Ï¥Îvlookup¨ç¼Æ³t«×·|«ÜºC
¸ß°Ýgoogle¤j®v¦³³o»ò¤@¬qµ{¦¡½X
¦ý¬O¸ÕµÛ®M¡A·|¥X²{·¸¦ìªº¿ù»~¡A½Ð°Ý¬O§_¯àÀ°¦£­×§ïµ{¦¡½X¡AÁÂÁÂ!



¨ú¥NVlookup.tar (318 KB)

¦^´_ 23# ­ã´£³¡ªL


·Q°_©|¥¼¦^ÂЭã¤jªº°ÝÃD

CHANGEIJµoªºµ{¦¡¡A´NµLªk¦A¨Ï¥Î¡e´_­ì¡f


¤£¤F, ÁÙ¬OÅý¥¦«O¯d­ìª¬

ÁÂÁÂ!!


   








²×¤_·Q°_¨BÆJªº"ÆJ"¦r¤F..

TOP

¦^´_ 23# ­ã´£³¡ªL

¦nªº, ¦b§V¤O¾Ç²ß¤¤....

TOP

¦^´_ 22# Qin

¢°¡^­n¥h¤F¸Ñ¨C¤@¦æµ{¦¡½Xªº·N«ä, ¤£µM°Ý¤@°ï·|¨S§¹¨S¤F¡ã¡ã¡ã¡ã
Private Sub Worksheet_Change(ByVal Target As Range)
Dim xR As Range, xF As Range, xCr, xCf, j%
xCr = Array(3, 6, 7)
xCf = Array(2, 4, 5)
With Target.Columns(1)  '¶K¤J©Î¿é¤J°Ïªº²Ä¤@Äæ
     If .Column <> 1 Then Exit Sub
     For Each xR In .Cells
         If .Row = 1 Then GoTo 101
         xR(1, 3).Resize(1, 5).ClearContents
         If xR = "" Then GoTo 101
         Set xF = Sheet1.[A:A].Find(xR, LookAt:=xlWhole, MatchCase:=False)
         If xF Is Nothing Then GoTo 101
         For j = 0 To UBound(xCr)
             xR(1, xCr(j)) = xF(1, xCf(j)).Value
         Next j
101: Next
End With
End Sub
¡@
¢±¡^CHANGEIJµoªºµ{¦¡¡A´NµLªk¦A¨Ï¥Î¡e´_­ì¡f¡I
¡@
¡@
¡@

TOP

¦^´_ 21# ­ã´£³¡ªL

­ã¤j
¥H¤Wªº°ÝÃD¸Ñ¨M¤F, ¹ê¦b¬O¤Ó´Î¤F,¥¦Â²¤Æ¤F§Ú¤u§@ªº¬yµ{. ·P¿E!!

¤£¦n·N«ä, ÁÙ¦³¤@ÂI¤p°ÝÃD
¤§«e¨Sª`·N¨ì...

1) ·Q±N L ,M ³æ¤¸®æªº¸ê®Æ copy ¥h A & B Ä樽,
¬°¦óC , F & G ªº¸ê®Æ´N§ì¤£¥X¨Ó¤F??

2) ¦³®É·|¦]¬°¤â»~, »~§RAÄ檺¸ê®Æ, ¬°¦ó¤£¯à¥Î" Ctrl Z" Undo ­«·s¥s¥X¨Ó?

    bcca2.rar (43.29 KB)

TOP

¦^´_ 20# Qin


Sub CopyPaste()
Dim xA As Range, xB As Workbook, xS As Worksheet, Chk%
Set xA = ActiveSheet.UsedRange
Application.ScreenUpdating = False
Set xB = Workbooks.Open(ThisWorkbook.Path & "\bcca.xls", Password:="1234")
For Each xS In xB.Sheets
    If Left(xS.Name, 6) = "w_PRG_" Then Chk = 1: Exit For
Next
If Chk = 0 Then MsgBox "¤u§@ªí¡ew_PRG¡f¤£¦s¦b¡I¡@": Exit Sub
With xS
    .Unprotect "pass"
    .UsedRange.Clear
     xA.Copy .[A1]
     .UsedRange.Font.Color = vbWhite
     .Name = "w_PRG_" & Format(Date, "yyyymmdd")
     .Protect "pass"
End With
xB.Close 1
MsgBox "½Æ»s§¹¦¨¡I¡@"
End Sub

TOP

¦^´_ 19# ­ã´£³¡ªL

­ã¤j
ÁÂÁ§A¤SÀ°¤F§Ú­Ó¤j¦£
1)Åý§Ú¥i¥H¥ô·N¨Ï¥Î¤£¦PªºÄæ¦ì
2)50­¶¤u§@ªí¤£¦]¤u§@ªí¦WºÙÅܰʪº°ÝÃD¸Ñ¨M¤F, §K¥h¤F»Ý­n³v­¶¥h­×§ïªº·Ð´o

·Q¦A½Ð°Ý, ¦³¨S¦³³o¼Ë²§·Q¤Ñ¶}ªº¼gªk
´N¬O·í§Ú§âwPrg¸ê®Æ½Æ»s¥hbcca ÀÉ®É,¬O§_¤]¥i¥H¦P®É­×§ï¤u§@ªí¦WºÙ¨Ã¥[¤W·í¤Ñ¤é´Á. " w_PRG_20181124"

¦]¬°¦³¤Ó¦h¹³³o¼ËªºÀÉ­n³B²z, ¦pªG¥H¤Wªº­n¨D¥i¥H¹ê²{, ¨º¹ê¦b¬O¤Ó§¹¬ü¤F.

wPrg1.rar (61.94 KB)

TOP

¥»©«³Ì«á¥Ñ ­ã´£³¡ªL ©ó 2018-11-19 16:42 ½s¿è

¦^´_ 18# Qin

Private Sub Worksheet_Change(ByVal Target As Range)
Dim xR As Range, xF As Range, xCr, xCf, j%
xCr = Array(3, 6, 7) '¥»ªí­n¶K¤JªºÄæ¦ì
xCf = Array(2, 4, 5) '¨Ó·½ªí­n½Æ»sªºÄæ¦ì
With Target
     If .Columns.Count > 1 Or .Column <> 1 Then Exit Sub
     For Each xR In .Cells
         If .Row = 1 Then GoTo 101
         xR(1, 2).Resize(1, 7).ClearContents
         If xR = "" Then GoTo 101
         Set xF = Sheet1.[A:A].Find(xR, LookAt:=xlWhole, MatchCase:=False)
         '_Sheet1¬°¨Ó·½ªíªº[ÄݩʦWºÙ], ¤u§@ªí¦WºÙ¥i¥ô·N§ó§ï¦Ó¤£¼vÅT(¨£¤U¹Ï)
         If xF Is Nothing Then GoTo 101
         For j = 0 To UBound(xCr)
             xR(1, xCr(j)) = xF(1, xCf(j)).Value
         Next j
101: Next
End With
End Sub

TOP

¦^´_ 16# ­ã´£³¡ªL

¥i¥H¥u¹ïAÄæ³æ¤@Àx¦s®æ¿é¤J¨ú¹ïÀ³­È, ©Î¤@¦¸¶K¤J¦h­Ó¬d¸ß­È¨ú¹ïÀ³~~

  
¤ÓêɤF, ­ì¨Ó¤@½gµ{¦¡½X´N¯à¸Ñ¨Mªº¨Æ §Ú«o儍儍ªº¥H¬°­n¥Î2½g¤~¯à¹ê²{
­ã¤j§A¤Ó¤û¤F°Õ¡K
³o§¹¥þ¬O§Ú·Q­nªº®ÄªG.
°ª¿³«á, «oµo²{¦Û¤v¤£À´±o­×§ïÄæ¦ì.
¦]¬°¦³«Ü¦hExcel Àɳ£­n¥Î¨ì¦¹µ{¦¡½X
¦]¦¹¤S¦A«pÃC¤W¨Óµo°Ý.

°ÝÃD¦bªþÀÉ
bcca ÀÉ password :  1234    &   pass

wPrg.rar (65.25 KB)

TOP

¥»©«³Ì«á¥Ñ n7822123 ©ó 2018-11-11 11:53 ½s¿è

¦^´_ 15# Qin


¦r¨å¥i³]©w¬O§_°Ï¤À¤j¤p¼g
¹w³]¼Ò¦¡¤U¡A·|°Ï¤À¤j¤p¼g
§â¦r¨åªºCompareModeÄݩʳ]¬°1¡A§Y¤£¤À¤j¤p¼g
¥H¤U¬OTest½d¨Ò

Sub ex()
Set D = CreateObject("scripting.dictionary")
D.CompareMode = 1      '¦r¨å¤£°Ï¤À¤j¤p¼g
D("abc") = 22
D("ABC") = 55
MsgBox D("abc") & "," & D("ABC")
End Sub

¸Ô²ÓVBA»¡©ú¦p¤U¹Ï
µ{¦¡¬O¨Ì»Ý¨D¼gªº¡A»Ý¨Dªí¹F¤£²M·¡
©ÎªÌ¨S¦³¤W¶Çªþ¥ó¡A·R²ö¯à§U

TOP

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