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

Show In Groups



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 3rd 07, 07:50 AM posted to microsoft.public.outlook.program_vba
SP_1[_3_]
external usenet poster
 
Posts: 3
Default Show In Groups

Hi

How can I check or unchecked (using VBA) the Show In Groups command (from
Views | Arranged By menu) ??

Thanks
Steve

Ads
  #2  
Old December 3rd 07, 02:53 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Show In Groups

Get a handle to that CommandBarControl and call its Execute method to
simulate a click on that menu item.

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


"SP_1" wrote in message
...
Hi

How can I check or unchecked (using VBA) the Show In Groups command (from
Views | Arranged By menu) ??

Thanks
Steve


  #3  
Old December 4th 07, 03:00 AM posted to microsoft.public.outlook.program_vba
SP_1[_2_]
external usenet poster
 
Posts: 4
Default Show In Groups

Thank you for the tip.

I'm now looking for the ID of the Show In Groups command. These codes below
that I got from the web only return the IDs of those commands under the View
menu. I do not know how to get into the submenu of the Arranged By.

Set cbcs = objApp.ActiveExplorer.CommandBars("Menu
Bar").Controls("View").controls
For icbc = 1 To cbcs.Count
MsgBox cbcs(icbc).Caption & " = " & cbcs(icbc).ID
Next icbc

Please let me know where I can go further from here.

Thanks
Steve




"Ken Slovak - [MVP - Outlook]" wrote in message
...
Get a handle to that CommandBarControl and call its Execute method to
simulate a click on that menu item.

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


"SP_1" wrote in message
...
Hi

How can I check or unchecked (using VBA) the Show In Groups command (from
Views | Arranged By menu) ??

Thanks
Steve




  #4  
Old December 4th 07, 10:38 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Show In Groups



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

"SP_1" wrote in message
...
Hi

How can I check or unchecked (using VBA) the Show In Groups command (from
Views | Arranged By menu) ??

Thanks
Steve



  #5  
Old December 4th 07, 10:47 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Show In Groups

The easiest way is to download OutlookSpy from www.dimastr.com and click the
Explorer button when in a folder view. Then look at the CommandBars tab and
expand things until you find what you want.

In this case "Sho&w in Groups" is ID 7627.

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


"SP_1" wrote in message
...
Thank you for the tip.

I'm now looking for the ID of the Show In Groups command. These codes
below that I got from the web only return the IDs of those commands under
the View menu. I do not know how to get into the submenu of the Arranged
By.

Set cbcs = objApp.ActiveExplorer.CommandBars("Menu
Bar").Controls("View").controls
For icbc = 1 To cbcs.Count
MsgBox cbcs(icbc).Caption & " = " & cbcs(icbc).ID
Next icbc

Please let me know where I can go further from here.

Thanks
Steve



  #6  
Old December 14th 07, 02:03 AM posted to microsoft.public.outlook.program_vba
SP_1[_2_]
external usenet poster
 
Posts: 4
Default Show In Groups

Hope the item got to you ok. Thanks again
Steve
----------------
Label/Receipt Number: 0306 2400 0002 5727 8796
Status: Delivered
Your item was delivered at 1:28 PM on December 12, 2007 in WINTER PARK, FL
32792
-----------------

"Ken Slovak - [MVP - Outlook]" wrote in message
...


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

"SP_1" wrote in message
...
Hi

How can I check or unchecked (using VBA) the Show In Groups command (from
Views | Arranged By menu) ??

Thanks
Steve





 




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
Show in Groups Kathy - Lovullo Outlook - General Queries 1 February 28th 07 02:17 PM
Originals never show in groups CW Outlook Express 2 January 24th 07 06:47 PM
- [2003] Not show in groups? - Steve JORDI Outlook - General Queries 2 June 2nd 06 02:58 PM
Show in Groups option Terry Bennett Outlook - General Queries 5 March 7th 06 12:30 AM
Outlook should permit Options=View|Arrange By|Show in Groups=None II_V_I Outlook - Installation 1 February 17th 06 06:19 PM


All times are GMT +1. The time now is 05:52 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.