Muokkaa

Jaa


Presentation.SendFaxOverInternet method (PowerPoint)

Sends a presentation as a fax to the specified recipients.

Syntax

expression. SendFaxOverInternet( _Recipients_, _Subject_, _ShowMessage_ )

expression A variable that represents a Presentation object.

Parameters

Name Required/Optional Data type Description
Recipients Optional Variant A String that represents the fax numbers and email addresses of the people to whom to send the fax. Separate multiple recipients with a semicolon.
Subject Optional Variant A String that represents the subject line for the faxed presentation.
ShowMessage Optional Variant Whether to display the fax message before sending it. 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 be 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 by using the following registry path:

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

Use the FaxAddress key value under the above registry path to determine the format to use for a user.

Example

The following example sends a fax to the fax service provider, who will fax the message to the recipient.

ActivePresentation.SendFaxOverInternet _
    "14255550101@consolidatedmessenger.com", _
    "For your review", True

See also

Presentation Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.