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

[µo°Ý] «ç»ò¦bUSERFORM¤¤¥[¤J¥i¿z¿ï½Æ¿ï¤§¾ðª¬¹Ï

¦^´_ 2# chaoyiho

===Module===
  1. Public vD

  2. Option Explicit
  3. ...
½Æ»s¥N½X
  1. Private Sub Workbook_Open()
  2.     Set vD = CreateObject("Scripting.Dictionary")
  3.     EXCELªí³æ³B²z¤¶­±.Show vbModeless
  4. End Sub
½Æ»s¥N½X
  1. Private Sub CommandButton1_Click()
  2.     If Application.FindFile = False Then
  3.         MsgBox "±z¨S¦³¶}±Ò¥ÀÀÉ"
  4.     End If

  5.     Dim lRow&
  6.    
  7.     lRow = 3
  8.     vD.RemoveAll
  9.     While Cells(lRow, 1) <> ""
  10.       If Not vD.Exists(CStr(Cells(lRow, 1))) Then
  11.         EXCELªí³æ³B²z¤¶­±.ListBox1.AddItem CStr(Cells(lRow, 1))
  12.         vD(CStr(Cells(lRow, 1))) = lRow
  13.       End If
  14.       lRow = lRow + 1
  15.     Wend
  16. End Sub
½Æ»s¥N½X
¦]¬°®É¶¡¤W¨Ó¤£¤Î, ³o¸Ì¥u°µ¥[¨ì ListBox ªº¤èªk,
§A¥i¥H°Ñ·Ó§ï¦¨°ÊºA·s¼W¬°§A­nªº CheckBox ¤¸¥ó.

ªí³æ³B²z¨t²Î3.2(PLS)-a.zip (614.78 KB)

TOP

¦^´_ 1# chaoyiho

³o¬O§Ú¼gªºVBA
    ªí³æ³B²z¨t²Î3.2(PLS).rar (658.22 KB)

³o¬O´ú¸ÕÀÉ®×(½Ð¿ï¾Ü165ªí³æ)
FORM_REPORT.rar (277.59 KB)

«ô°U¤j®a¤F~~~~!!!!

TOP

        ÀR«ä¦Û¦b : µoµÊ®ð¬Oµu¼ÈªºµoºÆ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD