Processing
 

how to write paragraphs without show to document

20/09/2016 13:17#1

mokh Akh

Member

Joined at: 7 months ago

Post: 6

Thank: 0

Thanked: 0

Here is my problem.

My plugin make a lot of changes and add multi paragraphs to document, user can see steps and changes to this paragraphs like change style then intend then insert other paragraph and then add new line ... etc

Is there any way to write range with multi-paragraphs without show in document until finish all updates

20/09/2016 14:25Top#2

Joined at: 10 months ago

Post: 247

Thank: 0

Thanked: 0

You can disable the updating of the document while you are applying formatting. Just set Application.ScreenUpdating to false:

Application.ScreenUpdating = false;  try {     // apply your formatting here     // ... } finally {     // restore screen updating     Application.ScreenUpdating = true; } 
Similar articles

VBA regex matching over two lines

4 months ago - Reply: 1 - Views: 44

Table output to Word-2011 from Rstudio using knit

4 months ago - Reply: 0 - Views: 32

Write a Collection of paragraphs into a new document

4 months ago - Reply: 1 - Views: 70

how to write paragraphs without show to document

4 months ago - Reply: 1 - Views: 66

numericals in word macro

4 months ago - Reply: 1 - Views: 45

Can not find proofing tools

4 months ago - Reply: 0 - Views: 1

Possible values for <w:outlineLvl> in Word OOXML

4 months ago - Reply: 1 - Views: 7

C# restrict editing partial word paragraph

5 months ago - Reply: 2 - Views: 142

Macro translation Please (possible virus)

4 months ago - Reply: 1 - Views: 34

Doc/Docx Fastest Reading Method for Searching

4 months ago - Reply: 0 - Views: 1

Save embedded file / content from word

4 months ago - Reply: 0 - Views: 5

Counting words in Word document, including footnores

4 months ago - Reply: 1 - Views: 22

c# access extract word ole object

4 months ago - Reply: 1 - Views: 19

Using word wildcards to find unaccepted changes

4 months ago - Reply: 1 - Views: 45

vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re