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

¤@­Ó½ÆÂøªºªí³æ°ÝÃD

¦^´_ 1# 317

¬yµ{Á`ı±o¦³ÂI¤£¶¶¡A¸Õ¸Õ¬Ý¦³°ÝÃD¦A°Q½×
­û¤u¸ê®Æ.rar (520.77 KB)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2012-7-26 15:12 ½s¿è

¦^´_ 4# 317

§Ú´ú¸Õ¨S°ÝÃD¡A¥i¯à§A¨S¦³±NÀɮ׸ÑÀ£ÁY¨ì¹q¸£¦ì¸m
¾É­P¨S¦³Åv­­¼g¤JÀÉ®×
play.gif
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2012-7-26 21:23 ½s¿è

¦^´_ 7# ©P¤j°¶

PictureSizeModeÄݩʱ±¨î
play.gif
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 10# ©P¤j°¶

ª½±µ±Æ§Ç§Y¥i
  1. Private Sub Label1_Click() '·s¼W¸ê®Æ
  2. Dim Ar(), A As Range, B As Range, C As Range
  3. Set C = Sheet1.[A:A].Find(TextBox1.Text, lookat:=xlWhole)
  4. If Not C Is Nothing Then MsgBox ("¾Ç¸¹­«½Æ¡A½Ð­«·sÀˬd"): Exit Sub
  5. fd = ThisWorkbook.Path & "\"
  6. If Dir(fd & "Temp.bmp") <> "" Then Kill fd & "Temp.bmp"
  7. SavePicture Image1.Picture, fd & "Temp.bmp"
  8. obs = Array("TextBox1", "TextBox2", "TextBox3", "TextBox4", "TextBox5", "TextBox6", "ComboBox1", "TextBox7", "TextBox8", "TextBox9", "TextBox10", "TextBox11", "ComboBox2")

  9. For i = 0 To 12
  10.      ReDim Preserve Ar(i)
  11.      Ar(i) = Controls(obs(i)).Text
  12. Next
  13. With Sheet1
  14.    Set A = .Cells(.Rows.Count, 1).End(xlUp).Offset(1)
  15.    A.RowHeight = 79.8
  16.    Set B = A.Offset(, 13)
  17.    A.Resize(, 13) = Ar
  18.    .Shapes.AddPicture fd & "Temp.bmp", msoFalse, msoCTrue, B.Left, B.Top, B.Width, B.Height
  19.     .Range("A3").CurrentRegion.Sort key1:=.[A4], header:=xlYes  '±Æ§Ç
  20. End With
  21. Unload Me: UserForm1.Show
  22. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2012-8-7 00:13 ½s¿è

¦^´_ 12# ©P¤j°¶
¹Ï¤ù®æ¦¡ªº¹w³]­È¬O¤j¤p¦ì¸mÀHÀx¦s®æ¦ÓÅÜ

    play.gif
¬°½T«O¹Ï¤ù·|ÀHÀx¦s®æ²¾°Ê
  1. Private Sub Label1_Click() '·s¼W¸ê®Æ
  2. Dim Ar(), A As Range, B As Range, C As Range, MyPic As Shape
  3. Set C = Sheet1.[A:A].Find(TextBox1.Text, lookat:=xlWhole)
  4. If Not C Is Nothing Then MsgBox ("¾Ç¸¹­«½Æ¡A½Ð­«·sÀˬd"): Exit Sub
  5. fd = ThisWorkbook.Path & "\"
  6. If Dir(fd & "Temp.bmp") <> "" Then Kill fd & "Temp.bmp"
  7. SavePicture Image1.Picture, fd & "Temp.bmp"
  8. obs = Array("TextBox1", "TextBox2", "TextBox3", "TextBox4", "TextBox5", "TextBox6", "ComboBox1", "TextBox7", "TextBox8", "TextBox9", "TextBox10", "TextBox11", "ComboBox2")

  9. For i = 0 To 12
  10.      ReDim Preserve Ar(i)
  11.      Ar(i) = Controls(obs(i)).Text
  12. Next
  13. With Sheet1
  14.    Set A = .Cells(.Rows.Count, 1).End(xlUp).Offset(1)
  15.    A.RowHeight = 79.8
  16.    Set B = A.Offset(, 13)
  17.    A.Resize(, 13) = Ar
  18.    Set MyPic = .Shapes.AddPicture(fd & "Temp.bmp", msoFalse, msoCTrue, B.Left, B.Top, B.Width, B.Height)
  19.    MyPic.Placement = xlMoveAndSize  '³]©w¹Ï¤ù¤j¤p¦ì¸mÀHÀx¦s®æ§ïÅÜ
  20.    .Range("A3").CurrentRegion.Sort key1:=.[A4], header:=xlYes  '±Æ§Ç
  21. End With
  22. Unload Me: UserForm1.Show
  23. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 14# ©P¤j°¶

§Ú´ú¸Õ¬O¨S°ÝÃD¡A¦³°Êµe¬°ÃÒ
¦Ü©ó§AÁÙ¦³°ÝÃD¦s¦b¡A¤£§«¤W¶Ç±zªºÀɮ׬ݬÝ
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 17# ©P¤j°¶
§Ú´ú¸Õ¨S°ÝÃD
¬O§_§A¨Sª`·N¨ì·|¦Û°Ê½s¸¹ªº°ÝÃD©Ò¾É­P©O?
play.gif
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 19# ©P¤j°¶
¦Û°Ê½s¸¹¬O¦bªí³æªì©l¤Æªº¨Æ¥ó¤¤¡A§A­n¸ÕµÛ¥h¤F¸Ñ­×§ï
¦Ü©ó¹Ï¤ù¬O§_¥i¥H±Æ§Ç
¤â°Ê±Æ§Ç¬Ý¬Ý´Nª¾¹D¤F
play.gif
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 21# ©P¤j°¶
  1. Private Sub Label1_Click() '·s¼W¸ê®Æ

  2. Dim Ar(), A As Range, B As Range, C As Range, MyPic As Shape
  3. Set dpic = CreateObject("Scripting.Dictionary")

  4. Set C = Sheet1.[A:A].Find(TextBox1.Text, lookat:=xlWhole)

  5. If Not C Is Nothing Then MsgBox ("¾Ç¸¹­«½Æ¡A½Ð­«·sÀˬd"): Exit Sub

  6. fd = ThisWorkbook.Path & "\"

  7. If Dir(fd & "Temp.bmp") <> "" Then Kill fd & "Temp.bmp"

  8. SavePicture Image1.Picture, fd & "Temp.bmp"

  9. obs = Array("TextBox1", "TextBox2", "TextBox3", "TextBox4", "TextBox5", "TextBox6", "ComboBox1", "TextBox7", "TextBox8", "TextBox9", "TextBox10", "TextBox11", "ComboBox2")


  10. For i = 0 To 12

  11.      ReDim Preserve Ar(i)

  12.      Ar(i) = Controls(obs(i)).Text

  13. Next

  14. With Sheet1

  15.    Set A = .Cells(.Rows.Count, 1).End(xlUp).Offset(1)

  16.    A.RowHeight = 79.8

  17.    Set B = A.Offset(, 13)

  18.    A.Resize(, 13) = Ar

  19.    Set MyPic = .Shapes.AddPicture(fd & "Temp.bmp", msoFalse, msoCTrue, B.Left, B.Top, B.Width, B.Height)

  20.    For Each pic In Sheet1.Shapes
  21.       If pic.Type = 13 Then dpic(.Cells(pic.TopLeftCell.Row, 1).Value) = pic.Name
  22.    Next

  23.    .Range("A3").CurrentRegion.Sort key1:=.[A4], Header:=xlYes  '±Æ§Ç
  24.    If Val(Application.Version) > 11 Then
  25.       For Each A In .Range(.[A4], .Cells(.Rows.Count, 1).End(xlUp))
  26.           .Shapes(dpic(A.Value)).Top = A.Top
  27.       Next
  28.     End If

  29. End With

  30. Unload Me: UserForm1.Show

  31. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ¦n¨Æ­n´£±o°_¡A¬O«D­n©ñ±o¤U¡A¦¨´N§O¤H§Y¬O¦¨´N¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD