הפיכת טקסט רגיל להערות שוליים

נוכחות לעסקים

משתמש סופר מקצוען
מנוי פרימיום
בוגר/תלמיד פרוג
עיצוב גרפי
פרסום וקופי
עריכה תורנית
D I G I T A L
שלום
האם יש דרך להפוך טקסט רגיל להערות שוליים

הסיפור מתחיל קיבלתי חומר להקליד כולל הערות שוליים למעו הנוחיות הקלדתי את הערות שוליים בקובץ נפרד

עכשיו אני רוצה להחזיר את הערות שוליים למקור , האם יש דרך לעשות את זה ?
[העתק הדבק רגיל לא עובד]
 

eliezer

מהנדס בינה מלאכותית
מנוי פרימיום
בוגר/תלמיד פרוג
עיצוב גרפי
עימוד ספרים
הנדסת תוכנה
D I G I T A L
נכתב ע"י אחד פלוס;1517983:
שלום
האם יש דרך להפוך טקסט רגיל להערות שוליים

הסיפור מתחיל קיבלתי חומר להקליד כולל הערות שוליים למעו הנוחיות הקלדתי את הערות שוליים בקובץ נפרד

עכשיו אני רוצה להחזיר את הערות שוליים למקור , האם יש דרך לעשות את זה ?
[העתק הדבק רגיל לא עובד]

חפש מאקרו או הזמן כזה אצל המומחים בדבר
או אם לא תמצא אוכל לכתוב לך כזה באינדזיין, ואז תעתיק בחזרה לוורד אם יש צורך
 

נוכחות לעסקים

משתמש סופר מקצוען
מנוי פרימיום
בוגר/תלמיד פרוג
עיצוב גרפי
פרסום וקופי
עריכה תורנית
D I G I T A L
מצאתי מאקרו

========================
Sub intext2footnote()
Dim vLastSectionI, vField, i, J
J = ActiveDocument.Sections.Count
For i = 1 To ActiveDocument.Sections.Count
If i = J Then Exit Sub
Set myRange = ActiveDocument.Sections(i).Range
For Each vField In myRange.Fields
Selection.GoTo What:=wdGoToField, Which:=wdGoToNext, Count:=1, Name:= _
"ADDIN"
Selection.Find.ClearFormatting
With Selection.Find
.Text = "{ }"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend
Selection.Cut
With ActiveDocument.Bookmarks
.Add Range:=Selection.Range, Name:="temp"
.DefaultSorting = wdSortByName
.ShowHidden = False
End With
Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend
ActiveDocument.Endnotes.Add Range:=Selection.Range, Reference:=""
Selection.Paste
Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Name:="1"
Selection.Find.ClearFormatting
With Selection.Find
.Text = "{ }"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.GoTo What:=wdGoToBookmark, Name:="temp"
Selection.Find.ClearFormatting
With Selection.Find
.Text = "{ }"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.ClearFormatting
With Selection.Find
.Text = "{ }"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
ActiveDocument.Bookmarks("temp").Delete
With ActiveDocument.Bookmarks
.DefaultSorting = wdSortByName
.ShowHidden = False
End With
Selection.MoveRight Unit:=wdCharacter, Count:=1
Next vField
Next i
End Sub
=======================================
 

moishy

משתמש סופר מקצוען
מנוי פרימיום
מחריד מזעזע ולגמרי לא עושה מה שביקשת.
 

בר בי רב

משתמש פעיל
מצאתי מאקרו

========================
Sub intext2footnote()
Dim vLastSectionI, vField, i, J
J = ActiveDocument.Sections.Count
For i = 1 To ActiveDocument.Sections.Count
If i = J Then Exit Sub
Set myRange = ActiveDocument.Sections(i).Range
For Each vField In myRange.Fields
Selection.GoTo What:=wdGoToField, Which:=wdGoToNext, Count:=1, Name:= _
"ADDIN"
Selection.Find.ClearFormatting
With Selection.Find
.Text = "{ }"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend
Selection.Cut
With ActiveDocument.Bookmarks
.Add Range:=Selection.Range, Name:="temp"
.DefaultSorting = wdSortByName
.ShowHidden = False
End With
Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend
ActiveDocument.Endnotes.Add Range:=Selection.Range, Reference:=""
Selection.Paste
Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Name:="1"
Selection.Find.ClearFormatting
With Selection.Find
.Text = "{ }"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.GoTo What:=wdGoToBookmark, Name:="temp"
Selection.Find.ClearFormatting
With Selection.Find
.Text = "{ }"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.ClearFormatting
With Selection.Find
.Text = "{ }"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
ActiveDocument.Bookmarks("temp").Delete
With ActiveDocument.Bookmarks
.DefaultSorting = wdSortByName
.ShowHidden = False
End With
Selection.MoveRight Unit:=wdCharacter, Count:=1
Next vField
Next i
End Sub
=======================================
אולי אפשר קצת תמיכה והסבר על המאקרו הזה, היכן מניחים את ההערות, מהו הקישור בין הטקסט להערות וכדו'.
 

אולי מעניין אותך גם...

הפרק היומי

הפרק היומי! כל ערב פרק תהילים חדש. הצטרפו אלינו לקריאת תהילים משותפת!


תהילים פרק קכא

א שִׁיר לַמַּעֲלוֹת אֶשָּׂא עֵינַי אֶל הֶהָרִים מֵאַיִן יָבֹא עֶזְרִי:ב עֶזְרִי מֵעִם יְהוָה עֹשֵׂה שָׁמַיִם וָאָרֶץ:ג אַל יִתֵּן לַמּוֹט רַגְלֶךָ אַל יָנוּם שֹׁמְרֶךָ:ד הִנֵּה לֹא יָנוּם וְלֹא יִישָׁן שׁוֹמֵר יִשְׂרָאֵל:ה יְהוָה שֹׁמְרֶךָ יְהוָה צִלְּךָ עַל יַד יְמִינֶךָ:ו יוֹמָם הַשֶּׁמֶשׁ לֹא יַכֶּכָּה וְיָרֵחַ בַּלָּיְלָה:ז יְהוָה יִשְׁמָרְךָ מִכָּל רָע יִשְׁמֹר אֶת נַפְשֶׁךָ:ח יְהוָה יִשְׁמָר צֵאתְךָ וּבוֹאֶךָ מֵעַתָּה וְעַד עוֹלָם:
נקרא  6  פעמים

לוח מודעות

למעלה