Q&A

  • DBGrid에서 엑셀출력시 에러


DBGrid의 내용을 엑셀출력하는 함수를 호출하면서..



raised Exception class EoleException with Message 'OleError 800A03EC '

Process Stoped. Use Step or Run to Continue.



이런 메세지가 아래부분에서 걸리면서 나는데요.



XL.Range['A2', CHR(64 + nCount) + '2'].Value := XTitle;

XL.Range['A2', CHR(64 + nCount) + '2'].borders.lineStyle := 1;

XL.Range['A2', CHR(64 + nCount) + '2'].Interior.Color := $00DBFFFF;

XL.Range['A2', CHR(64 + nCount) + '2'].font.bold := true;

XL.Range['A2', CHR(64 + nCount) + '2'].columns.autofit;



참고로 쿼리의 필드갯수가 29개 입니다. 갯수가 많아서 그런지...

아시는 분 좀 가르쳐주세요.





0  COMMENTS