I occasionally make word documents available from an Internet page. I’ve been berating a friend who uses tabs instead of tables, but when I replace all those tabs with tables, there seems to be no way to remove the table grid lines from the screen view (I know how to remove the borders). Also, if the document opens with paragraph marks showing, that looks tacky. I do not want to control the view with macros, since I don’t want people to feel they’re assuming any risk by opening the documents. Other than converting to Acrobat, is there any way to make sure a document opens with paragraph marks off (is there a non-macro-controlled setting that stays with the document) and is there a way to make the grid lines invisible – such as they (don’t) appear in print preview?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Clean View of document?
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Clean View of document?
- This topic has 4 replies, 3 voices, and was last updated 24 years, 1 month ago.
Viewing 1 reply threadAuthorReplies-
WSwcutler
AskWoody Lounger -
Andrew Lockton
AskWoody_MVPApril 5, 2001 at 11:02 pm #521771 -
WSwcutler
AskWoody LoungerApril 6, 2001 at 2:56 pm #521869Andrew, exactly what I wanted to understand. Thanks. And I’m entired pleased with the white lines.
Gary and Crudd, thanks for the suggestions. Since the readers could be people I don’t know, I wanted to avoid depending on a macro (which might cause them to not open the document or to disable the macro), and I couldn’t depend on their having a particular configuration on their computer.
-
-
-
WSGary Frieder
AskWoody LoungerApril 5, 2001 at 11:40 pm #521773Hi Wendy,
Last fall I played around with developing code to do this (never got implemented though). If I recall it correctly, what it would do was: on Document_Open store all of the user’s View preferences as DocVariables, and apply the “clean view” settings, and on Document_Close restore all the View settings back to what the user originally had. I believe the idea was that this code had to sit in the document’s attached template (which means we would have needed to atach a special ‘Web View’ template to these documents).
This never got implemented or developed further but you’re welcome to make any use of this (if it’s of any use) (it does work though!):
Private Sub Document_Open() Dim bShowAnimText As Boolean Dim bShowPictHolders As Boolean Dim bShowFieldCodes As Boolean Dim bShowBmks As Boolean Dim bShowTabs As Boolean Dim bShowSpaces As Boolean Dim bShowParaMarks As Boolean Dim bShowOptHyph As Boolean Dim bShowHiddenTxt As Boolean Dim bShowAll As Boolean Dim bShowDrawings As Boolean Dim bShowObjAnch As Boolean Dim bShowTextBounds As Boolean Dim nUserView As Integer Dim objDocVar As Variable If LCase$(Right$(ActiveDocument.FullName, 4)) ".dot" Then With ActiveDocument For Each objDocVar In .Variables objDocVar.Delete Next objDocVar With .ActiveWindow.View bShowAnimText = .ShowAnimation bShowPictHolders = .ShowPicturePlaceHolders bShowBmks = .ShowBookmarks bShowTabs = .ShowTabs bShowSpaces = .ShowSpaces bShowParaMarks = .ShowParagraphs bShowOptHyph = .ShowHyphens bShowHiddenTxt = .ShowHiddenText bShowAll = .ShowAll bShowDrawings = .ShowDrawings bShowObjAnch = .ShowObjectAnchors bShowTextBounds = .ShowTextBoundaries nUserView = .Type .Type = wdPageView End With With .Variables .Add "UserView", nUserView .Add "AnimText", bShowAnimText .Add "PictHolders", bShowPictHolders .Add "Bmks", bShowBmks .Add "Tabs", bShowTabs .Add "Spaces", bShowSpaces .Add "ParaMarks", bShowParaMarks .Add "OptHyph", bShowOptHyph .Add "HiddenTxt", bShowHiddenTxt .Add "ShowAll", bShowAll .Add "Drawings", bShowDrawings .Add "ObjAnch", bShowObjAnch .Add "TextBounds", bShowTextBounds End With With ActiveWindow.View .ShowAnimation = False .ShowPicturePlaceHolders = False .ShowBookmarks = False .ShowTabs = False .ShowSpaces = False .ShowParagraphs = False .ShowHyphens = False .ShowHiddenText = False .ShowAll = False .ShowDrawings = True .ShowObjectAnchors = False .ShowTextBoundaries = False .ShowHighlight = True End With .Saved = True End With End If End Sub '========================== Private Sub Document_Close() Dim objDocVar As Variable If LCase$(Right$(ActiveDocument.FullName, 4)) ".dot" Then With ActiveDocument With ActiveWindow.View .Type = ActiveDocument.Variables("UserView") .ShowAnimation = ActiveDocument.Variables("AnimText") .ShowPicturePlaceHolders = ActiveDocument.Variables("PictHolders") .ShowBookmarks = ActiveDocument.Variables("Bmks") .ShowTabs = ActiveDocument.Variables("Tabs") .ShowSpaces = ActiveDocument.Variables("Spaces") .ShowParagraphs = ActiveDocument.Variables("ParaMarks") .ShowHyphens = ActiveDocument.Variables("OptHyph") .ShowHiddenText = ActiveDocument.Variables("HiddenTxt") .ShowAll = ActiveDocument.Variables("ShowAll") .ShowDrawings = ActiveDocument.Variables("Drawings") .ShowObjectAnchors = ActiveDocument.Variables("ObjAnch") .ShowTextBoundaries = ActiveDocument.Variables("TextBounds") End With For Each objDocVar In .Variables objDocVar.Delete Next objDocVar .Saved = True End With End If End Sub
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
1 hour, 26 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
1 hour, 47 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
6 hours, 27 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
11 hours, 34 minutes ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
11 hours, 41 minutes ago -
regarding april update and may update
by
heybengbeng
13 hours, 10 minutes ago -
MS Passkey
by
pmruzicka
58 minutes ago -
Can’t make Opera my default browser
by
bmeacham
20 hours, 50 minutes ago -
*Some settings are managed by your organization
by
rlowe44
7 hours, 34 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
19 hours, 45 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
1 day, 15 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
2 days ago -
AI slop
by
Susan Bradley
14 hours, 32 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
2 days, 1 hour ago -
Two blank icons
by
CR2
13 hours, 28 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
2 days, 10 hours ago -
End of 10
by
Alex5723
2 days, 13 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
1 day, 11 hours ago -
test post
by
gtd12345
2 days, 19 hours ago -
Privacy and the Real ID
by
Susan Bradley
2 days, 9 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
11 hours, 47 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
2 days, 23 hours ago -
Upgrading from Win 10
by
WSjcgc50
1 day, 11 hours ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
1 day, 14 hours ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
3 days, 15 hours ago -
The story of Windows Longhorn
by
Cybertooth
3 days, 3 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
3 days, 17 hours ago -
Are manuals extinct?
by
Susan Bradley
17 hours, 39 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
4 days, 2 hours ago -
Network Issue
by
Casey H
3 days, 13 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.