SOUND.PLAY

Macro Sheets Only

Plays the sound from a cell note or a file. Equivalent to choosing the Note command from the Insert menu and choosing the Play button, or choosing the Note command from the Insert menu, choosing the Import button, and then opening a file, selecting a sound, and choosing the Play button. To play sounds in Microsoft Excel for Windows, you must have have a sound board installed in your computer.

Syntax

SOUND.PLAY(cell_ref, file_text, resource)

Cell_ref is a reference to the cell note containing sound that you want to play. If cell_ref is omitted, Microsoft Excel plays the sound from the active cell, or from a file if you specify one.

File_text is the name of a file containing sounds. If cell_ref is specified, file_text is ignored.

Resource is a number or name given as text specifying a sound resource in file_text that you want to play.

Related Function

SOUND.NOTE Records or imports sound into or erases sound from cell notes

List of Command-Equivalent Functions