Here’s how to use xlsmove() function.
Description:
Move a worksheet in an Excel object.
Syntax:
xo.xlsmove (s,s’;xo’)
Note:
The function moves a worksheet named s in Excel object xo to another Excel object xo’and rename it s'.
When xo’ is absent, the function renames worksheet s in Excel object xo s'. If parameter s' is also absent at the same time, just delete worksheet s.
When parameter xo’ is present but parameter s' is absent, worksheet s will continue to use the current name.
Parameter:
xo |
Excel object |
s |
Sheet name in Excel object xo |
s' |
Sheet name |
xo’ |
Excel object |
Note:
@c |
Copy |
Return value:
None
Example: