SLIDE.PASTE macro

This function should not be used in Microsoft Excel 95 or later because the Slide Show add-in is available only in Microsoft Excel version 5.0 or earlier versions.

Equivalent to clicking the Paste button on a slide show sheet. Pastes the contents of the Clipboard as the next available slide of the active slide show sheet, and gives the slide the attributes you specify.

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

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 sheet. 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")

Return to index