1234347584375
Technical User
I am given a file every day with 50+ blocks of data that each begin with "#$%" and I need to serate each block into a new page. I tried recording a macro but no luck....this is what i have so far, but i have no idea if it is remotely correct. THANKS IN ADVANCE ![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Selection.Find.ClearFormatting
With Selection.Find
.Text = "#$%"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute
Selection.InsertBreak Type:=wdPageBreak
Selection.Find.ClearFormatting
With Selection.Find
.Text = "#$%"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute
Selection.InsertBreak Type:=wdPageBreak