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!29Views0likes4CommentsAdd-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!24Views0likes1CommentWord 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.113Views0likes12CommentsRuler 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.46Views0likes2CommentsWord 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?43Views0likes1CommentHow 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 ;(40Views0likes1CommentRestrict 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?46Views0likes1CommentTable 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.Solved138Views0likes4CommentsWord freezes when using modern comments with tables
Hi everyone, I’m running into a very frustrating issue with Microsoft Word and I’m hoping someone has seen this before. Word Desktop consistently freezes when I try to use modern comments with tables. The freeze happens after typing into the comment field and trying to save the comment. The application becomes unresponsive and needs to be force-closed. What’s strange: The exact same document works perfectly fine in Word for the Web. I can add and edit comments in tables there without any issues. Brand new Lenovo laptop (Windows 11) Microsoft 365 (latest version) Issue started immediately on this device Same workflow worked fine on my previous laptop What I’ve already tried: Running Word in safe mode (winword /safe) Creating a new Windows user profile Quick Repair and Online Repair of Office Fully reinstalling Microsoft 365 Disabling / removing McAfee antivirus Testing with a completely new document Disabling modern comments (old comments work, but are not ideal) Testing local vs OneDrive files (same behavior) Any help would be greatly appreciated. Thanks in advance!206Views0likes1Comment