Application screenupdating does not work

An add-in not only allows you to use a macro from any instance of Excel, but you can also edit your code and add new macros to a common repository from any instance also.This Workbook should be active at the end of the procedure, but it is not. User Name Dim obj Outlook As Object Dim Obj NS As Object On Error Resume Next Set obj Outlook = Create Object("Outlook.

Article contributed by Daryl Lucas Many people know they can speed execution of Word Automation by turning off screen updating: Word. Screen Updating = False Many do not know, however, that they can get an even greater speed boost by hiding the application altogether.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.Screen Updating to true before This Workbook.activate and after to no affect.As a work-around I use a Msg Box at the end of the procedure, which for some reason activates Thiswork Book when Application.The functionality depends on Word, not on the Automation client.

But it also works even if you run your Automation code from Word itself.

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.

I have VBA code that works under windows 7 and excel 2013.

But it doesn't change view, the view stays on the deleted sheet while the subs all finish.

As you can read: starting in cell A1 a value of "99" will be entered in the selected cell then the cursor will move one cell down to enter "99", repeat the process until the row number of the selected cell is 3000 and come back to cell A1.

Word does not need to display itself in order to run.