Spreadsheet.MoveCases
This function moves the specified range of cases in the spreadsheet.
SVB Example
Moving cases and variables:
Option Base 1 Option Explicit Sub Main Dim spr As Spreadsheet 'assigns the active spreadsheet to the object spr Set spr = ActiveSpreadsheet 'moves cases 1 to 5 and inserts them after case 10 spr.MoveCases(1,5,10) 'moves variables 1 to 5 and inserts them after case 10 spr.MoveVariables(1,5,10) End Sub
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.