Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-10-2021, 12:46 PM
AnBad AnBad is offline Hide Text in a document. Windows 10 Hide Text in a document. Office 2019
Novice
Hide Text in a document.
 
Join Date: Mar 2021
Posts: 5
AnBad is on a distinguished road
Default Hide Text in a document.

Hi,
I have a document with some simple word spreadsheets. I gave all of them a bookmark name so that I can hide and unhide the spreadsheets.

Everything works fine only some sheets got the value:

ActiveDocument.Bookmarks(MyRange.Bookmarks(x).Name ).Range.Font.Hidden = 9999999

It should -1 (hidden) or 0 (not hidden). But some have 9999999

I did some digging and realized that the spreadsheets with faulty 9999999 are showing at fonts/effects full filled marks everywhere from "Strikethrough" up to "Hidden" (not in this picture, they are all empty her cause I could find a pic online). That cant be, cause nothing is strikenthrough...



I cant find why. What is going on here?

I need this cause I want to create a list with all visible Bookmarks via VBA.

Thank you

Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to text heading1 text heading1 text? How to collapse or hide text in the middle of a line. TImer Word 7 08-10-2020 12:52 AM
Conditionally hide parts of a document elaineAda Word VBA 0 04-01-2019 10:00 PM
Hide Text in a document. How to manage (display/hide) parts of the text within a document via table of content Curby Word 2 06-30-2016 12:29 AM
Page nos in footers - how to hide mid document willynilly Word 2 11-22-2013 07:21 AM
Hide Text in a document. Hide sentances in a word document michaelgott Word 1 04-19-2012 08:11 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:07 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft