Output functions

imageIf(if_condition, path_true, path_false, type)

Displays the specified image in a cell (overflowing the cell boundaries if necessary).
The parameters are as follows:

Images are displayed/re-drawn immediately after all the formulas are evaluated/updated and the updating process is completed.

=imageIf(P251 > 0, "e:\image_file1.png", "e:\image_file2.png", 1)

=imageIf(S10:S120 = 0, "folder1\music_file1.jpg", "image_file2.gif", 0)

messageIf(message, type, if_condition, reference-as-text)

Displays a message box with the specified 'message', the 'OK' and 'Cancel' buttons.

Messages are displayed immediately after all the formulas are evaluated/updated and the updating process is completed. Thus you can use such a function with 'if_condition' set to a fixed value of 1 to signal the end of updating.

=messageIf("need to inspect this cell", 1, isError(folder2\sheet2!P251), "folder2\sheet2!P251")

=messageIf("need to inspect this cells", 1, isError(S120), "S121:S200")

playSoundIf(path, type, if_condition, loops, volume)

Plays mp3 and wav files. The parameters are as follows:

Music files are played immediately after all the formulas are evaluated/updated and the updating process is completed. Thus you can use such a function with 'if_condition' set to a fixed value of 1 to signal the end of updating.

If there are multiple files to play, there are played one after another.
To stop playing, simply press ESC or use the 'Tools > Cancel Update' command (even though updating at this point updating is already successfully completed.

=playSoundIf("e:\music_file1.mp3", 1, true, 1, 40)

=playSoundIf("folder1\music_file1.mp3", 0, true, 100, 80)

setFormatIf(reference, action, if_condition, format_true, format_false)

See: Conditional cell formatting