- ©«¤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
|
¦^´_ 1# av8d
¸Õ¸Õ¬Ý- Option Explicit
- Sub Ex()
- Dim Rng As Range, Sh_Name As String, i As Integer
- Set Rng = Sheets("º¶").[B5]
- Do While Rng <> ""
- Sheets(Rng.Offset(-2) & "¤H").Copy , Sheets(Sheets.Count) '½Æ»s 12¤H,15¤H¤u§@ªí
- '***** ìÀɮתº¤u§@ªí "12-1" §ï¬° "12¤H","12-2" §ï¬° "15¤H" *********
- 'Sh_Name = Mid(Rng, 1, InStr(Rng, vbLf)) '½Æ»sªº¤u§@ªí¦WºÙ
- With ActiveSheet
- '.Name = Sh_Name
- .Shapes("Text Box 1").OLEFormat.Object.Characters.Text = Rng
- For i = 1 To Rng.Offset(-2)
- '**** ¶·¨Ì§Çקï 12¤H,15¤H ®y¦ì¹Ïªº¦WºÙ P:1-> P:12, P:15 ****
- With .Shapes("P:" & i).OLEFormat.Object
- .Characters.Text = Rng.Offset(i)
- .AutoSize = IIf(Len(Rng.Offset(i)) > 0, True, False) '¹Ï¤ù:¯à¦Û°Ê½Õ¾ã¤j¤p
- If InStr(Rng.Offset(-1), "Âù") And i <= 2 Or i = 1 Then '¥D¦ì¹Ï
- .ShapeRange.Fill.ForeColor.SchemeColor = 14
- End If
- With .Characters.Font
- .Name = "·s²Ó©úÅé"
- .FontStyle = "²ÊÅé"
- .Size = 16
- End With
- End With
- Next
- End With
- Set Rng = Rng.Offset(, 1)
- Loop
- End Sub
½Æ»s¥N½X |
|