Edytuj

Udostępnij za pośrednictwem


_Workbook.SendFaxOverInternet(Object, Object, Object) Method

Definition

Sends a worksheet as a fax to the specified recipients.

public void SendFaxOverInternet (object Recipients, object Subject, object ShowMessage);
Public Sub SendFaxOverInternet (Optional Recipients As Object, Optional Subject As Object, Optional ShowMessage As Object)

Parameters

Recipients
Object

Optional Object. A string that represents the fax numbers and e-mail addresses of the people to whom the fax will be sent. Separate multiple recipients with a semicolon.

Subject
Object

Optional Object. A string that represents the subject line for the faxed document.

ShowMessage
Object

Optional Object. True displays the fax message before sending it. False sends the fax without displaying the fax message.

Remarks

Using the SendFaxOverInternet 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.

Applies to