- ©«¤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
|
¦^´_ 3# an13755 - Sub Ex()
- Dim Á`ªí As String, Sh As Worksheet, E As Range, i As Integer
- With ActiveWorkbook
- Á`ªí = InputBox("¿é¤JÁ`ªí¦WºÙ", , .ActiveSheet.Name)
- If Á`ªí = "" Then Exit Sub
- On Error GoTo A:
- .Sheets(Á`ªí).Activate
- For Each Sh In .Sheets
- If Sh.Name <> Á`ªí Then
- For Each E In Sh.[a1:a100]
- If Not Sh.[d1:k1].Find(E, , , 1) Is Nothing Then
- E.Interior.ColorIndex = 6
- End If
- Next
- Sh.[a1:a100].Copy
- ActiveWorkbook.Sheets(Á`ªí).Cells(i + 2, 2).PasteSpecial Transpose:=True
- i = i + 1
- End If
- Next
- End With
- Application.CutCopyMode = False
- A:
- If Err.Number > 0 Then
- MsgBox "Á`ªí ¦WºÙ¿ù»~"
- Else
- MsgBox "¤u§@ §¹¦¨ !!"
- End If
- End Sub
½Æ»s¥N½X |
|