إصلاح: مراجع متقاطعة معطلة في Word
إجابة سريعة
اضغط Ctrl+Shift+F9 لتحديث جميع مراجع الحقول. احذف الأخطاء، وأعد إنشاءها عبر References > Cross-reference مع الهدف الصحيح.
Translate to Arabic. Keep markdown formatting: ##, **, `, -, | Keep English: Word, Microsoft Office, SharePoint, OneDrive, add-in, cache, registry, menu paths like “File > Options” Translate all other content. Return ONLY the translated text, no explanation.
TEXT:
The Problem
Your Word document contains cross-references (like “See Figure 3 on page 15”), but they’re showing error codes like “#REF!” or ”!Error.” Cross-references show wrong page numbers or reference text. After you moved sections, cross-references point to wrong locations. Deleting a referenced item breaks all cross-references pointing to it. Cross-references were working before but now they’re broken.
Quick Fix
Update all fields immediately:
- Select all content: Ctrl+A
- Press Ctrl+Shift+F9 (update all fields)
- All cross-references refresh
- If error codes disappear, issue is fixed
- If errors remain, the reference target was deleted (proceed to Step-by-Step Solution)
If errors remain after update, proceed to Step-by-Step Solution.
Step-by-Step Solution
Step 1: Identify What’s Broken
Locate broken cross-references.
- Press Ctrl+F to open Find dialog
- Search for “#REF” or ”!Error” or similar error codes
- Find shows location of broken references
- Close Find dialog
- Each broken reference needs individual attention
Step 2: Verify Target Reference Still Exists
Cross-reference needs something to reference.
- Look at a broken cross-reference
- It might show something like “Figure 3” or “Table 2”
- Scroll through document and look for that item
- If you can’t find it, it was deleted—the reference can’t work
- If you find it, the reference is broken but fixable
Step 3: Update Reference Field
If target exists but reference shows error:
- Right-click the broken cross-reference
- Select Update Field or Edit Field
- An “Edit Cross-Reference” dialog opens
- Look at “Reference type” — it should match target (e.g., “Figure” if referencing a figure)
- Look at “Select item to refer to” list
- Your target should appear in the list
- If you see it, click it to select
- At the bottom, select how to display (e.g., “Page number” or “Full caption”)
- Click OK
- Cross-reference now works
Step 4: Delete and Recreate Broken References
Most reliable fix for broken references.
- Select the broken cross-reference text
- Press Delete
- The reference is removed
- Position cursor where reference was
- Go to References > Cross-reference (or Insert > Cross-reference)
- The Cross-reference dialog opens
- In “Reference type,” choose the type (Heading, Figure, Table, etc.)
- In “Select item to refer to,” look for your target
- If target not in list, it might be deleted (can’t reference it)
- If target exists, click it
- At bottom, choose display format (Page number, Heading text, etc.)
- Click Insert
- Reference is recreated
Step 5: Check if Referenced Item is Labeled Correctly
Cross-references need proper captions/labels.
- For figures, ensure they have captions: Right-click figure > Insert Caption
- For headings, ensure they use Heading styles (not manual bold)
- For tables, ensure they have captions: Right-click table > Insert Caption
- Properly labeled items appear in cross-reference dialogs
- Without labels, you can’t reference them
- Go back to references and recreate now that items are labeled
Step 6: Refresh All Fields After Large Document Edits
After moving/deleting sections, refresh everything.
- Go to File > Info
- Look for “Document Statistics” or similar (shows update status)
- Select all: Ctrl+A
- Press Ctrl+Shift+F9 (update ALL fields)
- Wait a few seconds for all fields to update
- Click in document to deselect
- Check cross-references—many now work correctly
Step 7: Manually Fix Broken Target-Reference Pairs
If cross-reference points to deleted item:
- You must either:
- Option A: Recreate the deleted item
- Option B: Delete the cross-reference (since target doesn’t exist)
- For Option A:
- Recreate the figure/heading/table with same name
- Update cross-reference (it will now find the target)
- For Option B:
- Delete the broken reference
- Optionally type replacement text (e.g., “Figure 3” as regular text)
Step 8: Check Bookmark References
Some cross-references use bookmarks.
- Go to Insert > Bookmark (or Review > Protect Document > Bookmarks)
- A list of bookmarks appears
- Look for bookmarks matching your references
- If a cross-reference references a bookmark that doesn’t exist, it breaks
- To fix:
- Create the missing bookmark: select content, go to Insert > Bookmark, name it, click Add
- Or delete the cross-reference if bookmark isn’t needed
Step 9: Rebuild Document If Many Broken References
If numerous references are broken:
- Create a new blank document
- From broken document, select all (Ctrl+A)
- Copy (Ctrl+C)
- Switch to new document
- Go to Edit > Paste Special > Unformatted Text
- This removes all fields (including broken references)
- Paste the text content
- Recreate cross-references fresh in new document:
- Ensure items have captions/labels
- Insert cross-references new: References > Cross-reference > select target
Step 10: Disable Field Shading to See Errors Clearly
Make broken references obvious.
- Go to File > Options
- Click Advanced
- Scroll to Show document content section
- Find “Show field codes instead of values” or “Field shading”
- If Field shading: When selected is set, change to Always to see all fields highlighted
- This makes broken references obvious
- You can fix them systematically
Why This Happens
- Target item deleted — Reference points to item that no longer exists
- Item renamed or moved — Target item renamed but reference still has old name
- Section deleted — Section containing referenced item was deleted
- Field not updated — Reference field not refreshed after document changes
- Corrupted field code — Reference field syntax is invalid
- Reference type mismatch — Reference set to “Figure” but target is heading
- Item not labeled — Target item doesn’t have proper caption/label
- Document structure changed — Heavy editing changed structure, breaking references
How to Prevent It
- Update fields before sharing — Always press Ctrl+Shift+F9 before sending document
- Don’t delete referenced items — Before deleting, check if anything references it
- Use styles for headings — Use Heading 1, 2, 3 styles; don’t manually format
- Label all figures/tables — Every figure/table needs caption via Insert > Caption
- Test references early — After creating first reference, verify it works
- Refresh after major edits — After moving/deleting sections, press Ctrl+Shift+F9
- Keep structure consistent — Avoid restructuring documents with many references
- Use bookmarks deliberately — If using bookmarks, maintain clear naming system
Still Not Working? Alternative Solutions
- Convert references to static text — Right-click > “Convert to Static Text,” type manually
- Use Find & Replace for page numbers — If only page numbers broken, use Find & Replace
- Create reference list manually — Type references as regular text instead of fields
- Export to PDF — PDF will show cross-references as working (converted to static)
- Use table of contents generator — Automatic TOC for structural references
- Rebuild document from scratch — If many references broken, start new with clean structure
- Use Google Docs — Different referencing system, fewer field issues
- Contact Microsoft Support — For persistent field code corruption
Key Takeaways
- Press Ctrl+Shift+F9 to update all fields including cross-references
- Verify target item exists: References > Cross-reference dialog shows available items
- Proper labeling is essential: use Heading styles, Image captions, Table captions
- Delete and recreate broken references (most reliable fix)
- After moving sections, refresh all fields immediately
- Cross-references break when target is deleted; recreate target or delete reference
- Bookmarks enable references between documents (Insert > Bookmark)
- Static text as fallback: right-click reference > Convert to Static Text
أدلة ذات صلة
توفير ساعات كل أسبوع
أتمتة المهام المتكررة داخل Word — الصياغة والاقتباسات والتنسيق في ثوانٍ.
جرب مجاناً