¥H¤U¥N½X¦A«D¼Ï¯Ãªí¥i¥¿±`¹B§@,¦ý®M¥Î¦b¼Ï¯Ãªí¤W«o³£µLªk°õ¦æ...
¨Ï¥Î»²§U®æ±N ¡iÁ`p¡j¨ú¥X¨Ó¤]µLªk®M¥Î...- Sub ¦C¦L()
- '¦Û°Ê¿ï¾Ü¦C¦L½d³ò
- ActiveSheet.ResetAllPageBreaks
- For Each Rng In Intersect(Range("A:A"), ActiveSheet.UsedRange)
- If WorksheetFunction.IsText(Rng.Value) Then
- If Left(Rng.Value, 3) = "Á`p" Then
- If Rng.Offset(-1, 7) = 0 Then Exit For
- ActiveSheet.HPageBreaks.Add before:=Rng.Offset(1, 0)
- ActiveSheet.PageSetup.PrintArea = "A1:I" & Rng.Row
- End If
- End If
- Next
- End Sub
½Æ»s¥N½X
¦Û°Ê³]©w¦C¦L½d³ò.rar (192.69 KB)
|