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

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

¦^´_ 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

¦^´_ 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

¦^´_ 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

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

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

TOP

¦^´_ 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

        ÀR«ä¦Û¦b : °ß¨ä´L­«¦Û¤vªº¤H¡A¤~§ó«i©óÁY¤p¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD