Options -> View -> "View sp...">

How can I control the "View spaces between pages" in MS Word using VBA / Macros?

Is it possible to control tools -> Options -> View -> "View spaces between pages" through VBA / macros?

Thanks.

+3
source share
2 answers

The problem is that these settings seem to change randomly.

In fact, your ignorant users click between pages and hide spaces. This is another simple click to return it.

For this, programmatically see this link:

http://word.mvps.org/FAQs/MacrosVBA/DocumentEvents.htm

Add an AutoOpen macro to each Normal.Dot template and add a line

ActiveWindow.View.DisplayPageBoundaries = True
+2
source

DJ is located directly from:

ActiveWindow.View.DisplayPageBoundaries = True

Normal.dot . Word , ( / ).

, , , .

Word MVP. DJ , " , AutoOpen, AutoNew AutoClose, Normal.dot".

, , , , - . , , "xxxx.dotm" " Word" , .

normal.dotm . , , , .

+1
source

Source: https://habr.com/ru/post/1715942/


All Articles