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

[µo°Ý] Excel§ì¨ú¦hµ§¸ê®Æ

¦^´_ 7# cowww


    ¬O³oºØ¼Ë¦¡¶Ü?

¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_ 10# Andy2483

«D±`·PÁÂAndy2483¤j¤jªº¸Ñ´b

§Ú¸Õ¥X¨Ó¤F
ªø©xªº­n¨D¥Ø«e¦³¹J¨ì³øªí¸ò²§°Êªí¤º®eªºªí¥Ü¤º®e¤£¦P
µLªk°µ¬°Keyªº°ÝÃD

TOP

¦^´_ 11# Andy2483

«D±`·PÁÂAndy2483¤j¤jªº¸Ñ´b

³o¬Ý°_¨Ó¹³ªøºÞ·Q­nªº

TOP

¥»©«³Ì«á¥Ñ Andy2483 ©ó 2023-6-27 09:59 ½s¿è

¦^´_ 13# cowww


   
¥[­Ó¬P¸¹


¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_ 14# Andy2483

¤ô³á
Andy2483¤j¤j¯u¬O¼F®`

TOP

¦^´_ 15# cowww

Àˬd²¤Æ¤F¤@¤U,¾Ç²ß¤è®×¦p¤U,½Ð«e½ú°Ñ¦Ò

    Option Explicit
Sub TEST_1()
Application.ScreenUpdating = False
Dim Brr, Z, A, B, i&, R&, T$, T1$, PH$, FN$, xB As Workbook, Sh As Worksheet
Set Z = CreateObject("Scripting.Dictionary")
PH = ThisWorkbook.Path: FN = "²§°Êªí±Æ§Ç.xlsm"
On Error Resume Next
Set xB = Workbooks(FN): Set Sh = xB.Sheets("²§°Êªí±Æ§Ç")
Brr = Range(Sh.[E1], Sh.[A65536].End(3))
On Error GoTo 0
If xB Is Nothing Then
   Set xB = Workbooks.Open(PH & "\" & FN)
   Brr = Range([²§°Êªí±Æ§Ç!E1], [²§°Êªí±Æ§Ç!A65536].End(3))
   xB.Close 0
End If
For i = 1 To UBound(Brr)
   T = Brr(i, 2): If T = "" Then GoTo i00
   T1 = Brr(i, 1): A = Z(T1)
   If A = "" Then
      For R = i To UBound(Brr)
         If T1 <> Brr(R, 1) Then Z(T1) = A: Exit For
         B = "   " & Brr(R, 2) & " " & Brr(R, 3) & " " & Brr(R, 4) & " " & Brr(R, 5)
         If i = R Then A = Brr(R, 1) & vbLf & B Else A = A & vbLf & B
      Next
   End If
   If Z(T) = "" Then
      Z(T) = Z(T1)
      ElseIf InStr(Z(T), Z(T1)) = 0 Then
         Z(T) = Z(T) & vbLf & vbLf & Z(T1)
   End If
i00: Next
Brr = Range([±M®×!D1], [±M®×!D65536].End(3))
[V:V].ClearComments
For i = 1 To UBound(Brr)
   T1 = Brr(i, 1): If T1 = "" Or Z(T1) = "" Then GoTo i01
   With Cells(i, 22).AddComment
      .Text Text:=Replace(Z(T1), "   " & T1, "¡¹" & T1)
      .Shape.TextFrame.Characters.Font.Size = 16
      .Shape.DrawingObject.AutoSize = True
   End With
i01: Next
Set Z = Nothing: Erase Brr: Set xB = Nothing: Set Sh = Nothing
End Sub
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_ 16# Andy2483

«D±`·PÁÂAndy2483¤j¤jªº¸Ñ´b

TOP

¦^´_ 16# Andy2483

½Ð¨DAndy2483¤j¤jªº¸Ñ´b
"¡¹"®ø¥¢¤F¡A½Ð°Ý§Ú§ïªº»yªk­þ¸Ì¥X¿ù¤F?


Option Explicit
Sub «ö¶s22_Click()

Application.ScreenUpdating = False
Dim Brr, Z, A, B, i&, R&, T$, T1$, PH$, FN$, xB As Workbook, Sh As Worksheet
Set Z = CreateObject("Scripting.Dictionary")
PH = ThisWorkbook.Path: FN = "¤Å§R«æ¥ó¤½¦¡.xlsm"
On Error Resume Next
Set xB = Workbooks(FN): Set Sh = xB.Sheets("²§°Êªí±Æ§Ç")
Brr = Range(Sh.[E1], Sh.[A65536].End(3))
On Error GoTo 0
If xB Is Nothing Then
   Set xB = Workbooks.Open(PH & "\" & FN)
   Brr = Range([²§°Êªí±Æ§Ç!E1], [²§°Êªí±Æ§Ç!A65536].End(3))
   xB.Close 0
End If
For i = 1 To UBound(Brr)
   T = Brr(i, 1): If T = "" Then GoTo i00
   T1 = Brr(i, 1): A = Z(T1)
   If A = "" Then
      For R = i To UBound(Brr)
         If T1 <> Brr(R, 1) Then Z(T1) = A: Exit For
         B = "   " & Brr(R, 2) & " " & Brr(R, 3) & " " & Brr(R, 4) & " " & Brr(R, 5)
         If i = R Then A = Brr(R, 1) & vbLf & B Else A = A & vbLf & B
      Next
   End If
   If Z(T) = "" Then
      Z(T) = Z(T1)
      ElseIf InStr(Z(T), Z(T1)) = 0 Then
         Z(T) = Z(T) & vbLf & vbLf & Z(T1)
   End If
i00: Next
Brr = Range([±M®×!Z1], [±M®×!Z65536].End(3))
[Z:Z].ClearComments
For i = 1 To UBound(Brr)
   T1 = Brr(i, 1): If T1 = "" Or Z(T1) = "" Then GoTo i01
   With Cells(i, 26).AddComment
      .Text Text:=Replace(Z(T1), "   " & T1, "¡¹" & T1)
      .Shape.TextFrame.Characters.Font.Size = 16
      .Shape.DrawingObject.AutoSize = True
   End With
i01: Next
Set Z = Nothing: Erase Brr: Set xB = Nothing: Set Sh = Nothing


End Sub

TOP

¦^´_ 18# cowww

¤j®a¤@°_¾Ç²ß¡A§Ú¦b·Q

Brr = Range([±M®×!Z1], [±M®×!Z65536].End(3))

³o­Ó¬O¤ñ¹ï"Tool No."¡A¦³¬Û¦P¤~¥[¬P

©Ò¥H¬O
Brr = Range([±M®×!E1], [±M®×!E65536].End(3))

¥t¥~§Ú·Q°ÝAndy2483¤j¤j

"²§°Êªí±Æ§Ç"·|¤Ö³Ì«á¤@µ§¸ê®Æ¡A¸Ó¦p¦ó­×¥¿¡A§Ú¬Ý°j°é³£¦³¶]º¡¡A¦ý¬O·|¤Ö³Ì«á¤@µ§(¨S¦³¥ô¦ó³Æµù)¡Aµ{«×¤£°÷µLªk­×¥¿¦¹°ÝÃD

TOP

¦^´_ 18# cowww


    ÁÂÁ«e½ú¦^´_
¬d¬Ý¤F¥Ü·N¹Ï¤w¸g»P­ì½d¨Ò»Ý¨Dµ²ªG¤£¦P,½Ð¤W¶Ç·s½d¨Ò

¤£¦P³B:
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

        ÀR«ä¦Û¦b : ±o²z­nÄǤH¡A²zª½­n®ð©M¡C
ªð¦^¦Cªí ¤W¤@¥DÃD