Syntax
| XLS.MoveWorkSheet [shName, ][shBefore, ][shAfter]
| |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Description
| Reorders a worksheet in the tabs of the active workbook.
This method uses the standard Excel Move instruction for worksheet. A move instructions can only be accomplished by defining before or after which worksheet the moving worksheet must be placed.
Note: Either shBefore or shAfter must be a value assigned to. When both parameters have values assigned to, shAfter is ignored.
| |||||||||
See Also
| ||||||||||
Example
| Sub Main |