Hi, 
Could someone please look into the below issue and kindly advise. 
 
I have an array $CtrInfo[11][12] which has pre-defined information. However, the problem is depending on the situation I would like to use only 10 columns of this. Either Column 8 or Column 9 has to be skipped accordingly. To make this happen, I am trying to copy the information into another array ($NewCtrInfo[11][11]) so that the final set of values is available for usage. 
 
I have tried to use FOR statement for this purpose. I am encountering the error -  Array variable has incorrect number of subscripts or subscript dimension range exceeded. 
 
Below is the code: 
;Copy the last three columns of existing array into the new array 
  For $clmcnt = 9 to 11 Step 1 
   For $rowcnt = 1 to 11 Step 1 
	Local $k = Execute("$rowcnt - 1") 
	Local $l = Execute("$clmcnt - 1") 
	Local $m = Execute("$clmcnt - 2") 
	$NewCtrInfo[$rowcnt][$l] = $CtrInfo[$k][$m] 
   Next 
  Next