Visual basic turn off screen updating No cc need chat

The functionality depends on Word, not on the Automation client.

Here is an example from a Visual Basic client: In the above example, Word launches but does not appear anywhere on the screen. (It does, though, show up in NT's Task Manager, in its list of running processes.) Despite this apparent lack of response, Word is very active and quite capable of doing everything it is told-creating a new document, inserting the message, , saving the file, closing it, and quitting.

If you need to update page numbers, you will have to show the application window before doing the update: With See Page X of Y displays or prints as Page 1 of 1, Page 2 of 2 etc. I hear rumors that you may also need to work with the Range object instead of the Selection object, but I have not tested this nearly enough to give a list because I do almost all of my work with Ranges.

This can mean that what should take a matter of 1 to 3 seconds, often takes a lot longer.

Open("C:\sample.pps", _ With Window:=mso False) 'Open a window now to the presentation for editing p Show.

New Window ' Unlock the window to start refreshing again Screen Updating = True Exit Sub Err Handle: If Err.

Leave a Reply