I want to change the .activesheet.[b16] to a varaible where users can change if nessary on input sheet. I like to insert "sStartdatacell" variable but i get errors. what is the syntext since this has brackets
put this sStartDatacell in for [b16] ----- sStartDatacell = ActiveSheet.Range("c10").Value
Code
With ActiveWorkbook
.ActiveSheet.Name = Split(Key, "/")(0)
.ActiveSheet.Cells(iTerrRow, iTerrCol).Value = Key
.ActiveSheet[COLOR=#ff0000].[B16][/COLOR].Resize(i + 1, IcolNulTemp2) = Ary
.Sheets(1).Select
.SaveAs Filename:=ThisWorkbook.Path & "" & sOutputFileNm & "_" & sTerr & "_" & Split(Key, "/")(0) & ".xlsx"
.Close
End With