Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Outlook 2007 shows the total number of items in a folder on the status bar at the bottom.

When I select a group of e-mails the information on the status bar does not change.

How can I find out how many items are selected?

share|improve this question
add comment

3 Answers

Use the Count Selected Items Macro That website has all the information you need to count the number of selected items in Outlook 2007.

Quick Install

  1. Download this code-file (countselected.zip) or copy the code below.
  2. Open the VBA Editor (keyboard shortcut ALT+F11)
  3. Extract the zip-file and import the CountSelected.bas file via File-> Import…
    If you copied the code, paste it into a new module.

  4. Add a button for easy access to the macro.

  5. Sign your code.

Macro code

The following code is contained in the zip-file referenced in the Quick Install. You can use the code below for review or manual installation.

Sub CountSelectedItems()
    Dim objSelection As Outlook.Selection
    Dim Result As Integer
    Set objSelection = Application.ActiveExplorer.Selection
    Result = MsgBox("Number of selected items: " & _
      objSelection.Count, vbInformation, "Selected Items")
End Sub
share|improve this answer
add comment

I think the best you can do is create a temporary folder, move the selected emails into that folder, and see what the count is.

Then move them back again.

share|improve this answer
    
That's what I tried first but it involves a lot of waiting (copying) if the number of items is high and you need the information often :) –  Siim K Dec 2 '11 at 9:45
add comment

I just found out that if you select 5 or more items and press Enter then it shows a warning dialog which contains the number. Something like "Are you sure you want to open X items?" (the wording could be a bit different, not using English Outlook).

I can then just click "No" and they will not be opened.

share|improve this answer
    
This method does not seem to work in Outlook 2010. –  Saulo Silva Feb 14 at 16:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.