OL98: (CW) Microsoft Fax Does Not Process Dialing Properties

ID: Q181054


The information in this article applies to:


SYMPTOMS

When using Microsoft Word with the Microsoft Outlook Address Book to Mail Merge To Fax (also known as Broadcast Fax), the telephone number dials incorrectly. The Fax service dials local numbers with the area code and long-distance numbers with the area code, but without the leading +1.


CAUSE

When using Word to Mail Merge To Fax, the Microsoft Fax service dials telephone numbers as they appear in the Outlook Fax number field. The telephone numbers are not processed by the modem's dialing properties. Outlook will automatically add the local area code if you do not enter an area code when you type the telephone number in the Fax field. In this situation, the Fax modem incorrectly dials both local and long-distance telephone numbers with 10 digits.


RESOLUTION

For Microsoft Fax to process the modem dialing properties, there must be a +1 in front of the telephone number in the Fax field. The long distance prefix of +1 forces the modem dialing properties to evaluate the telephone number. The number should follow this format:

+1 (555)555-5555
There are two methods of solving this problem.

Setting Outlook to Enter +1 for All New Fax Entries

To begin all new telephone numbers with a +1, follow these steps:
  1. Start Outlook and open the default Contacts folder.


  2. On the Actions menu, point to Call Contact, and then click New Call.


  3. Click Dialing Options.


  4. Click to select "the Automatically add country code to local phone number" check box. Click OK, and then click Close.


Now whenever you add a new telephone number to a contact, Outlook will add a +1 prefix and Microsoft Fax will properly process the modem dialing properties. This method effects all telephone numbers, not just fax numbers.

VBScript to Modify Existing Fax Numbers

Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://www.microsoft.com/support/supportnet/refguide/
This method adds a +1 to every Fax number in the selected folder. Telephone numbers that are not Fax numbers remain unchanged. To automatically modify your existing Fax numbers, follow these steps:
  1. Start Outlook and open the Contacts folder that contains the contact Fax numbers that you want to modify.


  2. On the File menu, point to New, and then click Contact to open an Untitled contact.


  3. On the Tools menu, point to Forms, and click Design This Form.


  4. Click the (P.2) tab to open page two of the form.


  5. On the Form menu, click Display This Page.


  6. On the Form menu, click Control Toolbox.


  7. From the Control Toolbox, drag a CommandButton to P2 of the Untitled Contact form.


  8. On the Form menu, click View Code to open the Script Editor.


  9. Type the following code into the Script Editor, and then on the File menu of the Script Editor, click Close:
    
           Sub CommandButton1_Click
           Dim FXNum(2)
           Plus1 = "+1"
           Set CurFolder = Application.ActiveExplorer.CurrentFolder
           For I = 1 to CurFolder.Items.Count
            Set CurItem=CurFolder.Items.Item(I)
             FXNum(0) = CurItem.BusinessFaxNumber
             FXNum(1) = CurItem.OtherFaxNumber
             FXNum(2) = CurItem.HomeFaxNumber
             For X = 0 to 2
               If FXNum(X) <> "" then
                Test = InStr(FXNum(X),Plus1)
                If Test = 0 then
                   Count = Count + 1
              Select Case X
                Case 0
                  CurItem.BusinessFaxNumber = Plus1 & " " & FXNum(X)
                Case 1
                  CurItem.OtherFaxNumber = Plus1 & " " & FXNum(X)
                Case 2
                  CurItem.HomeFaxNumber = Plus1 & " " & FXNum(X)
                End Select
              CurItem.Save
                End If
               End If
             Next
           Next
           MsgBox Count & " Records modified" & Chr(13) & "Process Done"
           End Sub 


  10. On the Tools menu, Point to Forms, and click Publish Form. Click to select the Contacts folder from the Look In list. Type a name for your form, click Publish and close the form.


  11. On the Actions menu, click to open your form.


Now when you click CommandButton1 on "P2" of the Contact form, the VBScript code modifies all of the Fax numbers in your open Contact folder so that they begin with the long distance prefix +1.

Additional query words: 98


Keywords          : GnlDial 
Version           : WINDOWS:
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: August 2, 1999