![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I'd like to find a sample macro for OUtlook 2007. Ideally would be one that
sets the szoom level on a message, but I'll take any sample macro and wtry to work with it. I would just record a macro, but recording seems to have been disabled in some earlier verion of Outlook. Thanks! |
#2
|
|||
|
|||
![]()
Unlike Word or Excel, Outlook has never had a macro recorder. You always
have had to write your own macros from scratch in Outlook since VBA was added to it. Since Outlook 2007 uses WordMail setting zoom percentage would have to be handled using Word object model code, however in this case the object model exposed for mail items doesn't allow you to do that. The code: Application.ActiveInspector.WordEditor.ActiveWindo w.View.Zoom.Percentage = 125 will just throw an error. The best you could do with a macro would be to call to open the zoom dialog in an email item. The actual zoom setting would have to be set manually. That code would look like this, assuming the item was opened and had focus: Application.ActiveInspector.CommandBars.ExecuteMso ("ZoomDialog") That will execute the ribbon control that opens the zoom dialog. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Dick" wrote in message news ![]() I'd like to find a sample macro for OUtlook 2007. Ideally would be one that sets the szoom level on a message, but I'll take any sample macro and wtry to work with it. I would just record a macro, but recording seems to have been disabled in some earlier verion of Outlook. Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Default on Zoom | Gene L. | Outlook - General Queries | 0 | July 23rd 08 10:35 PM |
Please help. Can't get the submit to create Task in outlook sample | doc4a | Outlook - Using Forms | 2 | July 18th 08 05:31 PM |
Sample Outlook 2003 PRF File | markj | Outlook - Installation | 2 | December 17th 07 04:29 PM |
Zoom Calendar | david4009 | Outlook - Calandaring | 1 | November 9th 07 08:38 PM |
Change default zoom setting when scheduling appointments | Jonathan | Outlook - Calandaring | 0 | January 8th 06 11:09 AM |