ACTIVATE.NEXT, ACTIVATE.PREV macro

Switches to the next or previous window, respectively, or switches to the next or previous sheet in a workbook.

Syntax

ACTIVATE.NEXT(workbook_text)

ACTIVATE.PREV(workbook_text)

Workbook_text    is the name of the workbook for which you want to activate a window.

 

Related Functions

ACTIVATE   Switches to a window

ON.WINDOW   Runs a macro when you switch to a window

WORKBOOK.NEXT   Switches to the next sheet in a workbook

WORKBOOK.PREV   Switches to the previous sheet in a workbook

WORKBOOK.SELECT   Select a sheet in a workbook

Return to index