דילוג לתוכן
  • חוקי הפורום
  • פופולרי
  • לא נפתר
  • משתמשים
  • חיפוש גוגל בפורום
  • צור קשר
עיצובים
  • בהיר
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • כהה
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • ברירת מחדל (ללא עיצוב (ברירת מחדל))
  • ללא עיצוב (ברירת מחדל)
כיווץ
מתמחים טופ
  1. דף הבית
  2. תוכנות
  3. יישומי אופיס
  4. וורד
  5. עזרה הדדית - וורד
  6. בירור | האם יש דרך להוספת הערות סקירה על הערות שוליים וסיום?

בירור | האם יש דרך להוספת הערות סקירה על הערות שוליים וסיום?

מתוזמן נעוץ נעול הועבר עזרה הדדית - וורד
73 פוסטים 5 כותבים 1.1k צפיות 2 עוקבים
  • מהישן לחדש
  • מהחדש לישן
  • הכי הרבה הצבעות
תגובה
  • תגובה כנושא
התחברו כדי לפרסם תגובה
נושא זה נמחק. רק משתמשים עם הרשאות מתאימות יוכלו לצפות בו.
  • ש שמעון פרידנן

    @צבי-צ כתב:

    מה ששלחת עכשיו גם מביא שגיאה שהסמן צריך להיות בהערת שוליים, והוא כמובן שם.

    כן אפילו אצלי זה עשה את השגיאה הזו בהפעלה דרך תיקיית הפעלה, אבל כשהוספתי לזה כרטיסייה זה כן עבד,
    אתה מוכן לבדוק האם בקובץ עם הכרטיסייה זה כן עובד בהתקנה דרך תיקיית ההפעלה?
    זה בשרשור של המאקרו.

    צ מנותק
    צ מנותק
    צבי צ
    כתב נערך לאחרונה על ידי
    #64

    @שמעון-פרידנן
    בדקתי, כנ"ל.

    ש תגובה 1 תגובה אחרונה
    0
    • צ צבי צ

      @שמעון-פרידנן
      בדקתי, כנ"ל.

      ש מנותק
      ש מנותק
      שמעון פרידנן
      כתב נערך לאחרונה על ידי
      #65
      פוסט זה נמחק!
      צ תגובה 1 תגובה אחרונה
      0
      • ש שמעון פרידנן

        פוסט זה נמחק!

        צ מנותק
        צ מנותק
        צבי צ
        כתב נערך לאחרונה על ידי
        #66

        @שמעון-פרידנן
        בדקתי שוב, בהערת שוליים עובד ובהערת סיום שגיאה.

        תגובה 1 תגובה אחרונה
        0
        • צ צבי צ

          @יעב-ץ
          חבל על העבודה כבר יש מסודר ומוכן.

          י מנותק
          י מנותק
          יעב"ץ
          כתב נערך לאחרונה על ידי
          #67

          @צבי-צ
          אם בכל אופן תוכל - זה יעזור לי מאד.

          י תגובה 1 תגובה אחרונה
          0
          • י יעב"ץ

            @צבי-צ
            אם בכל אופן תוכל - זה יעזור לי מאד.

            י מנותק
            י מנותק
            יעב"ץ
            כתב נערך לאחרונה על ידי
            #68

            @צבי-צ
            אשמח אם תוכל, וכן להוסיף שיעבוד גם בתצוגת טיוטה ולא רק בתצוגת הדפסה.

            אני משתמש דווקא בזה ולא בשני.

            צ תגובה 1 תגובה אחרונה
            0
            • י יעב"ץ

              @צבי-צ
              אשמח אם תוכל, וכן להוסיף שיעבוד גם בתצוגת טיוטה ולא רק בתצוגת הדפסה.

              אני משתמש דווקא בזה ולא בשני.

              צ מנותק
              צ מנותק
              צבי צ
              כתב נערך לאחרונה על ידי
              #69

              @יעב-ץ
              מה שנוח לך, כתבתי שלדעתי מה שכתב הרב @שמעון-פרידנן יותר מקצועי.

              אצלי זה תקין, תבדוק אצלך ותעדכן.

              Sub הערת_סקירה_בהערת_שוליים()
                  Dim cmt As Comment
                  Dim anchor As Range
                  Dim txt As String
                  Dim panesBefore As Long
                  Dim st As Long
                  Dim pos As Long
                  Dim lo As Long, hi As Long, mid As Long
              
                  txt = InputBox("הקלד את הערת הסקירה:", "הערת סקירה")
                  If txt = "" Then Exit Sub
              
                  panesBefore = ActiveWindow.Panes.Count
                  st = Selection.StoryType
                  pos = Selection.Start
              
                  ' הדגשת הטקסט המסומן (בתוך הערת השוליים/הסיום)
                  If Selection.Start <> Selection.End Then
                      Selection.Range.HighlightColorIndex = wdYellow
                  End If
              
                  Select Case st
                      Case wdFootnotesStory
                          lo = 1: hi = ActiveDocument.Footnotes.Count
                          Do While lo <= hi
                              mid = (lo + hi) \ 2
                              If pos < ActiveDocument.Footnotes(mid).Range.Start - 1 Then
                                  hi = mid - 1
                              ElseIf pos > ActiveDocument.Footnotes(mid).Range.End Then
                                  lo = mid + 1
                              Else
                                  Set anchor = ActiveDocument.Footnotes(mid).Reference
                                  Exit Do
                              End If
                          Loop
              
                      Case wdEndnotesStory
                          lo = 1: hi = ActiveDocument.Endnotes.Count
                          Do While lo <= hi
                              mid = (lo + hi) \ 2
                              If pos < ActiveDocument.Endnotes(mid).Range.Start - 1 Then
                                  hi = mid - 1
                              ElseIf pos > ActiveDocument.Endnotes(mid).Range.End Then
                                  lo = mid + 1
                              Else
                                  Set anchor = ActiveDocument.Endnotes(mid).Reference
                                  Exit Do
                              End If
                          Loop
              
                      Case wdMainTextStory
                          Set anchor = Selection.Range
                          If anchor.Start = anchor.End Then anchor.MoveEnd wdCharacter, 1
                  End Select
              
                  If anchor Is Nothing Then
                      MsgBox "הסמן צריך להיות בגוף המסמך, בהערת שוליים או בהערת סיום.", vbExclamation
                      Exit Sub
                  End If
              
                  Set cmt = ActiveDocument.Comments.Add(anchor)
                  cmt.Range.Text = txt
              
                  ' סגירת חלונית הסקירה שנפתחה (בתצוגת טיוטה) - ורק אותה
                  If ActiveWindow.Panes.Count > panesBefore Then
                      ActiveWindow.Panes(ActiveWindow.Panes.Count).Close
                  End If
              End Sub
              
              י תגובה 1 תגובה אחרונה
              0
              • צ צבי צ

                @יעב-ץ
                מה שנוח לך, כתבתי שלדעתי מה שכתב הרב @שמעון-פרידנן יותר מקצועי.

                אצלי זה תקין, תבדוק אצלך ותעדכן.

                Sub הערת_סקירה_בהערת_שוליים()
                    Dim cmt As Comment
                    Dim anchor As Range
                    Dim txt As String
                    Dim panesBefore As Long
                    Dim st As Long
                    Dim pos As Long
                    Dim lo As Long, hi As Long, mid As Long
                
                    txt = InputBox("הקלד את הערת הסקירה:", "הערת סקירה")
                    If txt = "" Then Exit Sub
                
                    panesBefore = ActiveWindow.Panes.Count
                    st = Selection.StoryType
                    pos = Selection.Start
                
                    ' הדגשת הטקסט המסומן (בתוך הערת השוליים/הסיום)
                    If Selection.Start <> Selection.End Then
                        Selection.Range.HighlightColorIndex = wdYellow
                    End If
                
                    Select Case st
                        Case wdFootnotesStory
                            lo = 1: hi = ActiveDocument.Footnotes.Count
                            Do While lo <= hi
                                mid = (lo + hi) \ 2
                                If pos < ActiveDocument.Footnotes(mid).Range.Start - 1 Then
                                    hi = mid - 1
                                ElseIf pos > ActiveDocument.Footnotes(mid).Range.End Then
                                    lo = mid + 1
                                Else
                                    Set anchor = ActiveDocument.Footnotes(mid).Reference
                                    Exit Do
                                End If
                            Loop
                
                        Case wdEndnotesStory
                            lo = 1: hi = ActiveDocument.Endnotes.Count
                            Do While lo <= hi
                                mid = (lo + hi) \ 2
                                If pos < ActiveDocument.Endnotes(mid).Range.Start - 1 Then
                                    hi = mid - 1
                                ElseIf pos > ActiveDocument.Endnotes(mid).Range.End Then
                                    lo = mid + 1
                                Else
                                    Set anchor = ActiveDocument.Endnotes(mid).Reference
                                    Exit Do
                                End If
                            Loop
                
                        Case wdMainTextStory
                            Set anchor = Selection.Range
                            If anchor.Start = anchor.End Then anchor.MoveEnd wdCharacter, 1
                    End Select
                
                    If anchor Is Nothing Then
                        MsgBox "הסמן צריך להיות בגוף המסמך, בהערת שוליים או בהערת סיום.", vbExclamation
                        Exit Sub
                    End If
                
                    Set cmt = ActiveDocument.Comments.Add(anchor)
                    cmt.Range.Text = txt
                
                    ' סגירת חלונית הסקירה שנפתחה (בתצוגת טיוטה) - ורק אותה
                    If ActiveWindow.Panes.Count > panesBefore Then
                        ActiveWindow.Panes(ActiveWindow.Panes.Count).Close
                    End If
                End Sub
                
                י מנותק
                י מנותק
                יעב"ץ
                כתב נערך לאחרונה על ידי
                #70

                @צבי-צ
                דבר ראשון - תודה!
                שנית, זה עובד.
                שלישית, הקודם היה הרבה הרבה יותר מהיר, זה חושב המון זמן.

                צ תגובה 1 תגובה אחרונה
                0
                • י יעב"ץ

                  @צבי-צ
                  דבר ראשון - תודה!
                  שנית, זה עובד.
                  שלישית, הקודם היה הרבה הרבה יותר מהיר, זה חושב המון זמן.

                  צ מנותק
                  צ מנותק
                  צבי צ
                  כתב נערך לאחרונה על ידי צבי צ
                  #71

                  @יעב-ץ
                  תבדוק האם זה יותר מהיר.

                  בכל מקרה בקובץ גדול עם הרבה הערות תמיד זה נתקע,
                  עיין במה ש @אוריי כתב פה ובהמשך השרשור.

                  https://mitmachim.top/post/1270021

                  Sub הערת_סקירה_בהערת_שוליים()
                      Dim cmt As Comment
                      Dim anchor As Range
                      Dim txt As String
                      Dim panesBefore As Long
                      Dim st As Long
                      Dim rngSel As Range
                  
                      txt = InputBox("הקלד את הערת הסקירה:", "הערת סקירה")
                      If txt = "" Then Exit Sub
                  
                      Application.ScreenUpdating = False
                  
                      panesBefore = ActiveWindow.Panes.Count
                      st = Selection.StoryType
                      Set rngSel = Selection.Range
                  
                      If Selection.Start <> Selection.End Then
                          rngSel.HighlightColorIndex = wdYellow
                      End If
                  
                      Select Case st
                          Case wdFootnotesStory
                              Set anchor = rngSel.Footnotes(1).Reference
                          Case wdEndnotesStory
                              Set anchor = rngSel.Endnotes(1).Reference
                          Case wdMainTextStory
                              Set anchor = rngSel.Duplicate
                              If anchor.Start = anchor.End Then anchor.MoveEnd wdCharacter, 1
                      End Select
                  
                      If anchor Is Nothing Then
                          Application.ScreenUpdating = True
                          MsgBox "הסמן צריך להיות בגוף המסמך, בהערת שוליים או בהערת סיום.", vbExclamation
                          Exit Sub
                      End If
                  
                      Set cmt = ActiveDocument.Comments.Add(anchor)
                      cmt.Range.Text = txt
                  
                      If ActiveWindow.Panes.Count > panesBefore Then
                          ActiveWindow.Panes(ActiveWindow.Panes.Count).Close
                      End If
                  
                      Application.ScreenUpdating = True
                  End Sub
                  
                  י 2 תגובות תגובה אחרונה
                  1
                  • צ צבי צ

                    @יעב-ץ
                    תבדוק האם זה יותר מהיר.

                    בכל מקרה בקובץ גדול עם הרבה הערות תמיד זה נתקע,
                    עיין במה ש @אוריי כתב פה ובהמשך השרשור.

                    https://mitmachim.top/post/1270021

                    Sub הערת_סקירה_בהערת_שוליים()
                        Dim cmt As Comment
                        Dim anchor As Range
                        Dim txt As String
                        Dim panesBefore As Long
                        Dim st As Long
                        Dim rngSel As Range
                    
                        txt = InputBox("הקלד את הערת הסקירה:", "הערת סקירה")
                        If txt = "" Then Exit Sub
                    
                        Application.ScreenUpdating = False
                    
                        panesBefore = ActiveWindow.Panes.Count
                        st = Selection.StoryType
                        Set rngSel = Selection.Range
                    
                        If Selection.Start <> Selection.End Then
                            rngSel.HighlightColorIndex = wdYellow
                        End If
                    
                        Select Case st
                            Case wdFootnotesStory
                                Set anchor = rngSel.Footnotes(1).Reference
                            Case wdEndnotesStory
                                Set anchor = rngSel.Endnotes(1).Reference
                            Case wdMainTextStory
                                Set anchor = rngSel.Duplicate
                                If anchor.Start = anchor.End Then anchor.MoveEnd wdCharacter, 1
                        End Select
                    
                        If anchor Is Nothing Then
                            Application.ScreenUpdating = True
                            MsgBox "הסמן צריך להיות בגוף המסמך, בהערת שוליים או בהערת סיום.", vbExclamation
                            Exit Sub
                        End If
                    
                        Set cmt = ActiveDocument.Comments.Add(anchor)
                        cmt.Range.Text = txt
                    
                        If ActiveWindow.Panes.Count > panesBefore Then
                            ActiveWindow.Panes(ActiveWindow.Panes.Count).Close
                        End If
                    
                        Application.ScreenUpdating = True
                    End Sub
                    
                    י מנותק
                    י מנותק
                    יעב"ץ
                    כתב נערך לאחרונה על ידי יעב"ץ
                    #72

                    @צבי-צ
                    אכן, מעט יותר טוב.
                    תודה גדולה ועצומה!

                    תגובה 1 תגובה אחרונה
                    0
                    • צ צבי צ

                      @יעב-ץ
                      תבדוק האם זה יותר מהיר.

                      בכל מקרה בקובץ גדול עם הרבה הערות תמיד זה נתקע,
                      עיין במה ש @אוריי כתב פה ובהמשך השרשור.

                      https://mitmachim.top/post/1270021

                      Sub הערת_סקירה_בהערת_שוליים()
                          Dim cmt As Comment
                          Dim anchor As Range
                          Dim txt As String
                          Dim panesBefore As Long
                          Dim st As Long
                          Dim rngSel As Range
                      
                          txt = InputBox("הקלד את הערת הסקירה:", "הערת סקירה")
                          If txt = "" Then Exit Sub
                      
                          Application.ScreenUpdating = False
                      
                          panesBefore = ActiveWindow.Panes.Count
                          st = Selection.StoryType
                          Set rngSel = Selection.Range
                      
                          If Selection.Start <> Selection.End Then
                              rngSel.HighlightColorIndex = wdYellow
                          End If
                      
                          Select Case st
                              Case wdFootnotesStory
                                  Set anchor = rngSel.Footnotes(1).Reference
                              Case wdEndnotesStory
                                  Set anchor = rngSel.Endnotes(1).Reference
                              Case wdMainTextStory
                                  Set anchor = rngSel.Duplicate
                                  If anchor.Start = anchor.End Then anchor.MoveEnd wdCharacter, 1
                          End Select
                      
                          If anchor Is Nothing Then
                              Application.ScreenUpdating = True
                              MsgBox "הסמן צריך להיות בגוף המסמך, בהערת שוליים או בהערת סיום.", vbExclamation
                              Exit Sub
                          End If
                      
                          Set cmt = ActiveDocument.Comments.Add(anchor)
                          cmt.Range.Text = txt
                      
                          If ActiveWindow.Panes.Count > panesBefore Then
                              ActiveWindow.Panes(ActiveWindow.Panes.Count).Close
                          End If
                      
                          Application.ScreenUpdating = True
                      End Sub
                      
                      י מנותק
                      י מנותק
                      יעב"ץ
                      כתב נערך לאחרונה על ידי
                      #73

                      @צבי-צ

                      @צבי-צ כתב:

                      בכל מקרה בקובץ גדול עם הרבה הערות תמיד זה נתקע,
                      עיין במה ש @אוריי כתב פה ובהמשך השרשור.

                      אני מריץ את זה בפריסת טיוטה, וזה איטי.

                      תגובה 1 תגובה אחרונה
                      0

                      שלום! נראה שהשיחה הזו מעניינת אותך, אבל עדיין אין לך חשבון.

                      נמאס לכם לגלול בין אותם הפוסטים בכל ביקור? כשנרשמים לחשבון, תמיד תחזרו בדיוק למקום שבו הייתם קודם, ותוכלו לבחור לקבל התראות על תגובות חדשות (בין אם במייל, ובין אם בהתראת פוש). תוכלו גם לשמור סימניות ולפרגן ב-upvote לפוסטים כדי להביע הערכה לחברי קהילה אחרים.

                      בעזרת התרומה שלך, הפוסט הזה יכול להיות אפילו טוב יותר 💗

                      הרשמה התחברות

                      • התחברות

                      • אין לך חשבון עדיין? הרשמה

                      • התחברו או הירשמו כדי לחפש.
                      • פוסט ראשון
                        פוסט אחרון
                      0
                      • חוקי הפורום
                      • פופולרי
                      • לא נפתר
                      • משתמשים
                      • חיפוש גוגל בפורום
                      • צור קשר