יש תחת ידי מאקרו הבא אמנם ברצוני שהמאקרו יעתיק לא טקסט שבין קודים אלו, אלא שיעתיק טקסט עם עיצוב פיסקה וגופן. מהי השורה שצריך לשנות? צבעתי את השורה שאיני חפץ בה. בתודה ובברכה לכל המסייע
Dim actDoc, newDoc As Document<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com
ffice
ffice" /><o
></o
>
Set actDoc = ActiveDocument<o
></o
>
Set newDoc = Documents.Add<o
></o
>
<o
> </o
>
With actDoc.Content.Find<o
></o
>
.ClearFormatting<o
></o
>
.Text = "&*&"<o
></o
>
.Format = False<o
></o
>
.MatchCase = False<o
></o
>
.MatchWholeWord = False<o
></o
>
.MatchKashida = False<o
></o
>
.MatchDiacritics = False<o
></o
>
.MatchAlefHamza = False<o
></o
>
.MatchControl = False<o
></o
>
.MatchAllWordForms = False<o
></o
>
.MatchSoundsLike = False<o
></o
>
.MatchWildcards = True<o
></o
>
.Execute<o
></o
>
Do While .Found = True<o
></o
>
Dim str As String<o
></o
>
str = actDoc.Range(.Parent.start, .Parent.End).Text<o
></o
>
newDoc.Content.InsertAfter (str)<o
></o
>
newDoc.Content.InsertParagraphAfter<o
></o
>
.Parent.start = .Parent.End<o
></o
>
.Execute
Dim actDoc, newDoc As Document<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com
Set actDoc = ActiveDocument<o
Set newDoc = Documents.Add<o
<o
With actDoc.Content.Find<o
.ClearFormatting<o
.Text = "&*&"<o
.Format = False<o
.MatchCase = False<o
.MatchWholeWord = False<o
.MatchKashida = False<o
.MatchDiacritics = False<o
.MatchAlefHamza = False<o
.MatchControl = False<o
.MatchAllWordForms = False<o
.MatchSoundsLike = False<o
.MatchWildcards = True<o
.Execute<o
Do While .Found = True<o
Dim str As String<o
str = actDoc.Range(.Parent.start, .Parent.End).Text<o
newDoc.Content.InsertAfter (str)<o
newDoc.Content.InsertParagraphAfter<o
.Parent.start = .Parent.End<o
.Execute