We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

OUTLOOK2010 Contact

Recently I find I didn't fill in the phone number for some contacts. So now I have to find the email before to find it.

So I think I should fill in some important information every time when I add a contact. So it will be good if these options such as phone number, name,email address are just mandatory options to fill in when adding a contact. But I don't find a way to set this. Is that possible?

Comments

  • ThemeOne
    ThemeOne Posts: 1,473 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    There's no way with the out of the box contact form.

    You might be able to set fields as mandatory if you design and deploy a custom contact form but that's not exactly a trivial task, and it might just be easier to remember to fill stuff in.
  • ThemeOne
    ThemeOne Posts: 1,473 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    DavidP24 wrote: »
    There are TWO sorts of contacts in outlook 2010, those in contacts and those saved by you sending emails to someone.

    I has always been a poorly designed system and I seem to remember that there are even apps to go get the ones saved in email

    Yes, I forget what they called them - collected addresses or something? Anyway they've been discontinued in later versions of Outlook I believe. Not that it's anything to do with mandatory fields ...
  • Akonty
    Akonty Posts: 1 Newbie
    HI,Styute

    There is no such option in outlook2010, but you can write VBA codes to do that. Below is a macro you can try
    Public WithEvents objInspectors As Outlook.Inspectors
    Public WithEvents objContact As Outlook.ContactItem
    
    Private Sub Application_Startup()
        Set objInspectors = Outlook.Application.Inspectors
    End Sub
    
    Private Sub objInspectors_NewInspector(ByVal Inspector As Inspector)
        Set objContact = Inspector.CurrentItem
    End Sub
    
    'Here we take the business information as an example
    'You can change the details as per your own case
    Private Sub objContact_Write(Cancel As Boolean)
        Dim strJobTitle As String
        Dim strBusinessAddress As String
        Dim strBusinessPhone As String
        Dim nWarning As Integer
     
        If objContact.CompanyName <> "" Then
     
           If objContact.JobTitle = "" Then
              Cancel = True
              strMsg = "Now that you've filled in the Company info, " & "why not fill in Job Title too?"
              nWarning = MsgBox(strMsg, vbExclamation, "Missing Job Title")
              strJobTitle = InputBox("Input the contact job title here:")
              objContact.JobTitle = strJobTitle
           End If
     
           If objContact.BusinessAddress = "" Then
              Cancel = True
              strMsg = "Now that you've filled in the Company info, " & "why not fill in business address too?"
              nWarning = MsgBox(strMsg, vbExclamation, "Missing Business Address")
              strBusinessAddress = InputBox("Input the contact business address here:")
              objContact.BusinessAddress = strBusinessAddress
           End If
     
           If objContact.BusinessTelephoneNumber = "" Then
              Cancel = True
              strMsg = "Now that you've filled in the Company info, " & "why not fill in business telephone number too?"
              nWarning = MsgBox(strMsg, vbExclamation, "Missing Business Telephone Number")
              strBusinessPhone = InputBox("Input the contact business telephone number here:")
              objContact.BusinessTelephoneNumber = strBusinessPhone
           End If
     
           objContact.Close olSave
        End If
    End Sub
    

    More detailed steps, you can search the article on google for :

    "How to Make Some Fields Mandatory When Filling in an Outlook Contact"

    Good luck
  • Styute
    Styute Posts: 2 Newbie
    Thanks for all the help! And I have tried the macro and find that article. It helps a lot!
  • ThemeOne
    ThemeOne Posts: 1,473 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    Always useful to get Outlook macros, especially as there's no macro recorder in Outlook.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455.1K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 603K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.