global removal of 'Arrange by'

L

Larry Podmore

After I converted from Outlook 2000 to Outlook 2003, all
of my messages are 'arranged' by date groupings. I can
see you to switch this off for individual folders (View,
Arrange By, untick Show in Groups) but how can I do it
for all of my folders a once?

Thanks
 
G

Guest

Thanks for the reply.

The ungrouping method you suggested is much more long
winded than the method I mentioned in my original message
and it still only applies to the current folder.

Surely there is a method that applies to ALL folders?

Why would Microsoft apply this (new) feature without some
way of turning it off?????
 
R

Roady [MVP]

Your way created a view specific to that folder only. This is why editing
your Messages view isn't "global". Therefor it is better to define a new
view and apply it to your folder on first use; saves a lot of headaches
troubleshooting and resetting your view settings per folder so it applies
globally.

--
Robert Sparnaaij [MVP-Outlook]
www.howto-outlook.com

Tips of the month:
-Navigation Pane Tips & Tricks
-Create an Office 2003 CD slipstreamed with Service Pack 1
 
L

Larry Podmore

Fixing a folder on first use is fine but I've just
imported several hundred existing folders from Outlook
2000. That's why I'm looking for a global fix.

Any further suggestions please?

thanks
Larry
 
R

Roady [MVP]

First reset the view applied to all folders with the /cleanviews command
line switch. Then edit the Messages View by View-> Arrange By-> Current
View-> Define Views...-> select Messages (don't take the shortcut to this)
and modify it

--
Robert Sparnaaij [MVP-Outlook]
www.howto-outlook.com

Tips of the month:
-Navigation Pane Tips & Tricks
-Create an Office 2003 CD slipstreamed with Service Pack 1
 
G

Guest

I did that but it still only reset the folder I was in.

Did I miss something?

Thanks for all your follow up Robert

cheers
Larry
 
R

Roady [MVP]

That's why I suggested to create your own view and apply it on first use of
the folder. This is a lot less time consuming then troubleshooting it ;-)

You might want to use this code if you really don't want to define your own
view;


'------------------------------------------------------------------
' GlobalDisableShowInGroups - version 1.0
'
' this macro recursively goes through Inbox and all its subfolders
' and disables the annoying "Show in Groups" in Outlook 2003
' You'll see some Outlook instances popping up, but that's ok
'
' (c) Silly Software, 2004

Sub GlobalDisableShowInGroups()
Dim ns As NameSpace
Dim Inbox As MAPIFolder

Set ns = GetNamespace("MAPI")
Set Inbox = ns.GetDefaultFolder(olFolderInbox)

TreeDisableShowInGroups Inbox
'.....add your own top level Folders here (not subfolders)

End Sub

Public Sub TreeDisableShowInGroups(oFolder As Outlook.MAPIFolder)
Dim oSubFolder As Outlook.MAPIFolder
Dim oCB As Office.CommandBar
Dim oPop As Office.CommandBarPopup
Dim oCtl As Office.CommandBarControl
Dim objExpl As Outlook.Explorer

'open folder in new outlook instance
oFolder.Display

'find state of "Show in Groups"
'NOTE: For WindowsXP in Dutch language, substitute "View" with
"Beeld",
'"Arrange by" with "Rangschikken op" and "Show in groups" with
"Weergeven in groepen"
Set oCB = Application.ActiveExplorer.CommandBars("Menu Bar")
Set oPop = oCB.Controls("View")
Set oPop = oPop.Controls("Arrange by")
Set oCtl = oPop.Controls("Show in groups")
st = oCtl.State
'if state is ON than change it by executing it
If (st = -1) Then
oCtl.Execute
End If

'close instance of outlook
oFolder.GetExplorer.Close

'Now recursively call any subfolders
For Each oSubFolder In oFolder.Folders
TreeDisableShowInGroups oSubFolder
Next

'Release objects
Set oSubFolder = Nothing

End Sub

'------------------------- end ------------------------------

--
Robert Sparnaaij [MVP-Outlook]
www.howto-outlook.com

Tips of the month:
-Navigation Pane Tips & Tricks
-Create an Office 2003 CD slipstreamed with Service Pack 1
 
L

Larry Podmore

Thanks for the code

Where/how do I run it? Does it need to be complied, in
what language?

I have many folders which aren't under Inbox - how do I
deal with those?

thanks
Larry
 
R

Roady [MVP]

It's VBA so you can place it in the VBA editor in Outlook

I've got no idea who and if the script works. I believe you can define the
root folder in 3rd block. Otherwise ask the otlook.programs_vba group for
assistance

--
Robert Sparnaaij [MVP-Outlook]
www.howto-outlook.com

Tips of the month:
-Navigation Pane Tips & Tricks
-Create an Office 2003 CD slipstreamed with Service Pack 1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top