Page 1 of 1

DC_Array2Excel

Posted: Tue Mar 22, 2011 6:10 am
by TWolfe
Roger,

I was looking at DC_Array2Excel and noticed the following code is included twice. Is there a reason for this or should one of these be deleted?

Terry

Code: Select all


  // Force a reformat for the size of the first column
  IF lAutoFit
    FOR i := 1 TO Len(aData[nSheet,1])
      oSheet:Columns(i):AutoFit()
    NEXT
  ENDIF

  // Force a reformat for the size of the first column
  IF lAutoFit
    FOR i := 1 TO Len(aData[nSheet,1])
      oSheet:Columns(i):AutoFit()
    NEXT
  ENDIF


Re: DC_Array2Excel

Posted: Tue Mar 22, 2011 7:56 am
by rdonnay
Looks like a mistake.

I'll remove it. Thanks.