A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Configure Reading Pane



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 4th 08, 05:19 PM posted to microsoft.public.outlook.program_vba
TDM
external usenet poster
 
Posts: 4
Default Configure Reading Pane


I am trying to put together a Macro to
enumerate all folders in my profile and turn
off the Reading Pane for each folder. I have
everything working except the turning off thepane.
I did not find much on Google, and I went through
the Outlook VBA help, no luck there either.
Is this even possible ?

Thanks in advance.

TDM


Ads
  #2  
Old March 4th 08, 07:25 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Configure Reading Pane

You will need to use the Explorer.CommandBars collection for each folder to
turn that off. Use the ActiveExplorer.CurrentFolder object and set it to
each folder you have in turn. Then get Explorer.CommandBars and use the
FindControl method of the CommandBars object to find a CommandBarButton with
the ID of 7223. Then call the Execute method on that button. Repeat for each
folder.

--
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


"TDM" wrote in message
...

I am trying to put together a Macro to
enumerate all folders in my profile and turn
off the Reading Pane for each folder. I have
everything working except the turning off thepane.
I did not find much on Google, and I went through
the Outlook VBA help, no luck there either.
Is this even possible ?

Thanks in advance.

TDM


  #3  
Old March 4th 08, 10:25 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Configure Reading Pane

What about using Explorer.ShowPane olPreview, False instead?

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Ken Slovak - [MVP - Outlook]" wrote in message ...
You will need to use the Explorer.CommandBars collection for each folder to
turn that off. Use the ActiveExplorer.CurrentFolder object and set it to
each folder you have in turn. Then get Explorer.CommandBars and use the
FindControl method of the CommandBars object to find a CommandBarButton with
the ID of 7223. Then call the Execute method on that button. Repeat for each
folder.

--
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


"TDM" wrote in message
...

I am trying to put together a Macro to
enumerate all folders in my profile and turn
off the Reading Pane for each folder. I have
everything working except the turning off thepane.
I did not find much on Google, and I went through
the Outlook VBA help, no luck there either.
Is this even possible ?

Thanks in advance.

TDM


  #4  
Old March 5th 08, 02:30 AM posted to microsoft.public.outlook.program_vba
TDM
external usenet poster
 
Posts: 4
Default Configure Reading Pane


"Sue Mosher [MVP-Outlook]" wrote in message ...
What about using Explorer.ShowPane olPreview, False instead?

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54

I will give these a try, but I am pretty sure olPreview is the
Preview pan, not the Reading pane.

Many thanks for the inputs, I will post success or failure.

TDM

  #5  
Old March 5th 08, 02:03 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Configure Reading Pane

Sue's correct, I had forgotten about that method. The reading pane is just
another name for the preview pane.

--
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


"TDM" wrote in message
...

"Sue Mosher [MVP-Outlook]" wrote in message
...
What about using Explorer.ShowPane olPreview, False instead?
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
I will give these a try, but I am pretty sure olPreview is the
Preview pan, not the Reading pane.

Many thanks for the inputs, I will post success or failure.

TDM


  #6  
Old March 7th 08, 03:38 PM posted to microsoft.public.outlook.program_vba
TDM
external usenet poster
 
Posts: 4
Default Configure Reading Pane


"Sue Mosher [MVP-Outlook]" wrote in message
...
What about using Explorer.ShowPane olPreview, False instead?

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


Well, it turns out I was already using the code you mention, but
I assumed the PreviewPane was just that, the PreviewPane. Once
I actually manually traversed most of my folders, I noticed that
indeed, the Reading pane was off so it was actually working,
I just did not know it because of the verbage confusion.

So, how does one actually turn off the PreviewPane, is there
some othe obscure property for that ?

Thanks again for your inputs.


TDM


  #7  
Old March 7th 08, 03:45 PM posted to microsoft.public.outlook.program_vba
TDM
external usenet poster
 
Posts: 4
Default Configure Reading Pane


"TDM" wrote in message
...

"Sue Mosher [MVP-Outlook]" wrote in message
...
What about using Explorer.ShowPane olPreview, False instead?

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


Well, it turns out I was already using the code you mention, but
I assumed the PreviewPane was just that, the PreviewPane. Once
I actually manually traversed most of my folders, I noticed that
indeed, the Reading pane was off so it was actually working,
I just did not know it because of the verbage confusion.

So, how does one actually turn off the PreviewPane, is there
some othe obscure property for that ?

Thanks again for your inputs.


TDM


OK, my stupidity, it is AutoPreview and I got it figured.

Sorry.

TDM


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading Pane in vba _-Andy-_ Outlook and VBA 13 July 20th 07 12:42 PM
Reading configure info Markus Outlook and VBA 1 July 14th 07 10:08 PM
Reading Pane bfarr Outlook - General Queries 1 February 23rd 07 01:39 PM
Reading Pane Not Available Bob Newman Outlook - General Queries 2 December 26th 06 03:11 PM
Reading Pane TerryM Outlook - Installation 1 May 14th 06 01:59 AM


All times are GMT +1. The time now is 03:37 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.