![]() ![]() ' //' use Declare PtrSafe Function with 64-bit Outlook ![]() This starts the macro without the need to restart Outlook. ![]() Edit the code as needed then click in the Application_Startup() macro and press Run button (F8). To use, open the VBA editor using Alt+F11 and paste the following code into ThisOutlookSession. Original code was written for 32-bit Outlook and 3 character file extensions. Private Declare PtrSafe Function ShellExecute Lib "shell32.dll" Alias _ Print received attachments immediately code sample To use the macro with 64-bit Outlook, you need to add PtrSafe to Declare: If you do want to print it with the message header, click on the Reply button first and then copy and paste the message into Word.The code looks at the last 4 characters, including the period and will work as long as you use 4 characters in each extension we want to check.Ĭase "xlsx", "docx", ".pdf", ".doc", ".xls" This will also prevent the message header from being printed. You can find more details about how to do that in: Print a partial message or text selection only Copy and paste into WordĪ bit more cumbersome but nonetheless very effective approach would be to copy and paste the message into a blank Word document and then print it from there. This however only works for HTML formatted messages. Open in browser and print selectionĪnother way to get rid of your name in the header is to open the message in a browser and then use the Print Selection option. With the Adobe Blank font, you can really hide you name on a printout. ![]() Since the font is blank, it’s listed all the way at the top of the font selection screen as a blank line.Īlthough it is blank, setting the font size to 1pt will decrease the amount of white space at the top of the message. Upon restarting Outlook, you can select the font as per the instructions above. To install the downloaded font, right click it an choose: Install. This is a free font created by Adobe and can be downloaded from the open-source site GitHub.įrom the list of files, download the file AdobeBlank.ttf. (click on image to enlarge) Adobe Blank fontĪ somewhat cleaner result can be achieved when you install the Adobe Blank OpenType Font. Modify the Title font style to hide your name at the top of a printed message.
0 Comments
Leave a Reply. |