Word(ワード)総合相談所 Part21at BSOFT
Word(ワード)総合相談所 Part21 - 暇つぶし2ch807: 忍法帖【Lv=40,xxxPT】(1+0:8)
13/04/04 18:17:27.62
>>806
自己レス
いろいろ調べたら次のマクロでできました。
ありがとうございました。

Sub ページ区切りをセクション区切りに()
Dim myfind As Boolean, myrange As Range
Do
Set myrange = ActiveDocument.Content
myfind = myrange.Find.Execute(findtext:="^m", MatchSoundsLike:=False)
If myfind Then
myrange.Select
Selection.Delete
Selection.InsertBreak Type:=wdSectionBreakNextPage
End If
Loop Until myfind = False
End Sub


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch