word 2013 macro PrintCurrentPage not working since April 2015 update

For several years, I have been using a macro in Word to print the current page with the assigned key Ctrl-7.  Since installing the Windows 7/MS Office updates of April 16, 2015, the macro has been printing the first page of the file, not the current page.  Any thoughts?
Answer
Answer

Agreed that they shouldn't have buried print current page in the menus so deep however the two macros suggested in this post worked for me. I decided to use the simplier looking one of the two:

 Dim CurPg As Integer
   CurPg = Selection.Information(wdActiveEndPageNumber)
   With Dialogs(wdDialogFilePrint)
      .Range = wdPrintRangeOfPages
      .Pages = CurPg
      .Execute
   End With

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Answer
Answer

The temporary solution to get the original macro working again is to uninstall update KB2965224 (part of the April Patch Tuesday collection). Microsoft will have to fix whatever is wrong with that patch and reissue it.

In the meantime, be very careful about opening documents from untrusted sources. The patch is intended to close several vulnerabilities that could be exploited by malicious Word files (https://technet.microsoft.com/en-us/library/security/ms15-033.aspx).

_____________________________
https://jay-freedman.info

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated February 15, 2022 Views 353 Applies to: