office 365
345 TopicsOffice.js: Is there any supported way to retrieve multiple non-contiguous text selections in Word?
Hi everyone, I'm developing a Word Office Add-in using Office.js. In Microsoft Word (Windows Desktop), users can select multiple non-contiguous text ranges by holding Ctrl while selecting text. However, when I use: context.document.getSelection() It only returns a single Word.Range, and I couldn't find any API to detect or retrieve all the selected ranges. I came across this related discussion: Microsoft Tech Community – Support for Retrieving Multiple Selected Ranges in Word via Office.js My questions are: 1. As of 2026, is there any supported Office.js API to retrieve multiple non-contiguous text selections? 2. Is there any workaround to detect that the user has selected multiple ranges? 3. Or is this still a platform limitation? Our use case is an AI-powered legal research add-in, where users may want to select multiple clauses from different parts of a document and send them together as context. Any guidance would be appreciated. Thanks!29Views0likes4CommentsWord Document Using Columns Not Modified, But Suddenly Displays Differently
I am using MS Word on my Windows 11 desktop. I have been using a Word document that I created a couple of years ago. The document uses Columns. The last time I modified it was a year ago. I tend to print it out every two days. Suddenly, the document displays differently and prints those differences. It now displays vertical lines below four of the five squares. I moved the document to my Windows 11 laptop. Same problem there. I sent the Word document to my son who opened it on his Mac computer. On his computer, it displays exactly as it should -- No erroneous vertical lines. Again, I have not modified the document. I thought maybe a Windows update may have caused the problem, but I don't see any Windows update in about one month. I am displaying two images below, a "before" and "after" image. The "before" (i.e., correct) image shows five squares and the alphabet displaying vertically. The "after" image shows vertical lines below the first four squares. Can anyone suggest a fix for this? Repeating myself again -- I have not modified this file in a year. Thank you. Len Jacobson First Image -- Correct display of the five squares and the alphabet displayed vertically Second Image -- Incorrect display. Vertical lines appearing below the first four squares.113Views0likes12CommentsAdd-in Error of complements in Word Online with my Personal Account
Hi, I am getting an error when trying to insert any add-in (such as Mendeley Cite) in Word Online using my personal account. Error message: "Add-in Error: We couldn't connect to the catalog server for this document" (Original Spanish error: "Error de complemento: no pudimos conectarnos con el servidor del catálogo {0} para este documento") Here are the details and the troubleshooting I've already done: - Account-specific: It works perfectly with my old University account, but fails with my new Personal account. - Platform-specific: The add-in works fine on the Word Desktop App, but fails on Word Online (web browser). - Browsers: I have tried different browsers (Chrome, Firefox) and the issue persists. It seems to be a configuration or permission restriction specific to my personal account on the web version. How can I fix this? Thank you!24Views0likes1CommentRuler Feature Disappeared from Microsoft Word on Android Tablet
Hello everyone, My father recently bought a new Android tablet specifically to use Microsoft Word for his work because he relies heavily on the Ruler feature. When I first installed Word, the Ruler was available and worked perfectly. However, after restarting the tablet, it disappeared. Since then, I have uninstalled and reinstalled the app several times, tried different versions of Word, checked all the settings, and confirmed that we had an active Microsoft 365 subscription, but the Ruler is still missing. My father has also tried adjusting to different document layouts and workarounds, but unfortunately none of them are practical for his workflow. He simply cannot work efficiently without the Ruler feature. Has anyone experienced this issue? Is the Ruler still supported in Microsoft Word for Android, or has it been removed? If it's still available, is there any way to restore it or install a version that includes it? My father bought this tablet mainly for Microsoft Word, so this feature is essential for his work. Thank you for any help or clarification.46Views0likes2CommentsEquations not rendering in Word
Hi everyone, I have an Office 365 Subscription and so I use the online version of Word for my work, I've done so for a number of months. All of a sudden today all of my maths equations stopped rendering. Now all I see, if I try to use the equation editor, is a grey box that says [Equation]. This is true for new documents and also all of my old documents that included equations. I've tried logging in and out again and tried on Chorome and Safari. I lean on this function quite heavily for my work so any help would be appreciated.Solved40KViews1like18CommentsWord Similarity Checker fails in desktop and web: “Something went wrong”
Hello, I am having an issue with Microsoft Word Similarity Checker. The Similarity Checker consistently fails with the message: “Something went wrong. Try again.” This happens in both: - Microsoft Word desktop - Word for the web / Microsoft 365 web version Product/account details: - Microsoft 365 subscription is active - Word shows activated under File > Account - Connected experiences are enabled - Word desktop version: Microsoft 365 Apps, Version 2606, Build 20131.20112 Click-to-Run Current Channel Troubleshooting already completed: 1. Confirmed Word is activated under File > Account. 2. Confirmed connected experiences are enabled: - Experiences that analyze your content: ON - Experiences that download online content: ON - All connected experiences: ON 3. Ran Office Update Now. 4. Restarted Windows. 5. Ran Quick Repair. 6. Ran Online Repair. 7. Tested in a brand-new blank Word document. 8. Tested on mobile hotspot instead of normal network. 9. Confirmed ProtonVPN was turned off. 10. Cleared Office Wef cache contents at: %LOCALAPPDATA%\Microsoft\Office\16.0\Wef\ 11. Checked Microsoft Edge WebView2 Runtime. The installer says it is already installed for the system. 12. Signed out of Word/Microsoft 365, restarted Windows, and signed back in. 13. Tested again in Word desktop. 14. Tested again in Word for the web. 15. The same “Something went wrong. Try again” Similarity Checker error still occurs. I also previously saw a script error when clicking Update License in Word: URL shown included: https://oc.officeapps.live.com/odc/v2.1/hrd Error: 'Hrd' is undefined Because the issue occurs in both desktop Word and Word for the web after these troubleshooting steps, this seems like a Microsoft 365/Word Similarity Checker service-side or account-side issue rather than a local installation problem. Can someone from Microsoft confirm whether there is a known issue with Similarity Checker right now, or whether this needs to be escalated as an account/service-side problem?43Views0likes1CommentSpace between Sentences changed in recent update
Before my PC was rebooted for an OS update on the fifteenth, the space checking behaved as expected. Since then, it is incorrectly adding grammar squiggles and pauses when checking where it should not. In the proofing settings for this, I have (why is this panel not in dark mode? xD): Which used to ignore quoted sentences such as: However, you can now see a squiggle where one does not belong. This happens with all "special ending" punctuation (question & exclamation) provided the following character is a capital letter. (A full-stop in quotes should be followed by two spaces as a comma is used when ending followed by a "(s)he said.) In other cases, if followed by a lowercase, it remains correct: I changed nothing about my settings between the update and also tried with the latest one this morning (the 25th), but the problem persists. This was also working correctly with mixed sentences before the update: Here, we see a new sentence after the first question, indicating a bit of extra movement or, in some cases, a thought. Again, this worked correctly before the update and has since started doing this. I hate to disable this option because I sometimes forget to space correctly (or I am deleting stuff and remove too much, where the squiggle helps me fix it, as it should). And no, I am not interested in a "how many spaces" fight. The live support told me to post here to find an answer or get this fixed… I hope it helps in finding the change and reverting it back to how it should be. Thank you.112Views0likes2CommentsRestrict Editing of styles, allow new breaks, TOCs, etc.
I've restricted editing to a selection of styles in my Word template. This, however, also restricts some key essential functions, for example, you can't add in a new Table of Contents or add in page or section breaks. Is there any way to just limit the Font and Table styles, while allowing everything else?46Views0likes1CommentHow can I remove the shortcuts with AltGr?
Guys, I have to use a new keyboard (Greek one) for some academic research and some accents conflicts with the AltGr + shortcuts. There's a way that I can just remove them all? I've tried to find and remove the shortcuts for Add a New Commentary (AltGr + A) and the topic structure (AltGr + o) but I can't find them in the list of shortcuts (Options > keyboard shortcuts > Personalize) I really need that ;(40Views0likes1CommentTable Design -How to see which table styles adopted
I have only recently discovered table design / table styles in word and is trying to adopt using it just like Styles in my work. But I realize that I am facing a problem. For word style, i can usually see which style is adopted by clicking in the existing paragraph and check with style is highlighted in the style gallery. This does not seem to work for table styles. I previously set a custom table style and then apply it to an existing table in the document. When I click on the table, I do not see "custom" being highlighted in the table styles gallery. Is there also no way to name table styles like word styles? It gets really confusing to search only by visual shape/colors in the gallery. I really want to remove some of the table styles from the gallery to avoid users from trying to use them.Solved138Views0likes4Comments