SLIDE.PASTE

Macro Sheets Only

Equivalent to choosing the Paste button in a slide show document. Pastes the contents of the Clipboard as the next available slide of the active slide show document, and gives the slide the attributes you specify.

If this function is not available, you must install the Slide Show add-in macro.

Syntax

SLIDE.PASTE(effect_num, speed_num, advance_rate_num, soundfile_text)
SLIDE.PASTE?
(effect_num, speed_num, advance_rate_num, soundfile_text)

Effect_num is a number specifying the transition effect you want to use when displaying the slide.

Speed_num is a number from 1 to 10 specifying the speed of the transition effect.

Advance_rate_num is a number specifying how long (in seconds) the slide is displayed before advancing to the next one.

Soundfile_text is the name of a file enclosed in quotation marks and specifies sound that will be played when the slide is displayed.

Resource is the number or name of a sound resource in soundfile_text.

Remarks

Examples

In Microsoft Excel for Windows, the following macro formula pastes the contents of the Clipboard into the active slide show document. The slide's transition effect is fade, at a speed of 8; it is displayed for five seconds; and Microsoft Excel plays the specified sound file:


SLIDE.PASTE(3, 8, 5, "C:\SLIDES\SOUND\MACHINES.WAV")

In Microsoft Excel for the Macintosh, the formula is:


SLIDE.PASTE(3, 8, 5, "HARD DISK:SLIDES:SOUND:MACHINE SOUNDS")

Related Functions

List of Command-Equivalent Functions