Freigeben über


Workbook.SendFaxOverInternet Method

Sends the active sheet in the workbook as a fax to the specified recipients.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Sub SendFaxOverInternet ( _
    Recipients As Object, _
    Subject As Object, _
    ShowMessage As Object _
)
void SendFaxOverInternet(
    Object Recipients,
    Object Subject,
    Object ShowMessage
)

Parameters

  • Recipients
    Type: System.Object

    The fax numbers and e-mail addresses of the people to whom the fax will be sent. Separate multiple recipients with a semicolon.

  • Subject
    Type: System.Object

    The subject line for the faxed document.

  • ShowMessage
    Type: System.Object

    true displays the fax message before sending it; false sends the fax without displaying the fax message.

Remarks

Using this method requires that the fax service is enabled on a user's computer.

The format used for specifying fax numbers in the Recipients parameter is either recipientsfaxnumber@usersfaxprovider or recipientsname@recipientsfaxnumber. You can access the user's fax provider information using the following registry path:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\Services\Fax

Use the value of the FaxAddress key at this registry path to determine the format to use for a recipient.

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

.NET Framework Security

See Also

Reference

Workbook Interface

Microsoft.Office.Tools.Excel Namespace