Farpoint Spread Excel SaveExcel bug

Published Dec 8, 2010 | Updated Sep 21, 2022 | 0 comments

하단에 요약행을 추가해서 수식(Formula)을 활용 Summary 데이터를 보여주게 작성을해서 사용해왔는데..

spread 의 Excel 저장함수인 

ExcelSpread.SaveExcel(_filePath, FarPoint.Win.Spread.Model.IncludeHeaders.ColumnHeadersCustomOnly);

로 저장을 하면 Formula Cell 의 Value 가 이상하게 첫번째 컬럼부터 변경되어 저장이 되버림 : SUM(D4:D100) => SUM(A1:D100)

헐… 이래저래 해봤으나 컴퍼넌트 버그라고 자체 결론 ㅡㅡ;;

걍 수식이 아니라 데이터 형태로 저장하게 변경함

// 2010-12-08 NOTE By 박재용 : Formula 가 잘못 저장되는 버그가 있어서 Formula 를 수식이 아니라 그냥 Data 로 저장
ExcelSpread.SaveExcel(_filePath, ExcelSaveFlags.NoFormulas | ExcelSaveFlags.SaveCustomColumnHeaders);

TAG INFORMATION

Learn more on this topic

Related Blog Posts

c# 멀티캐스트 대리자 샘플

delegate void Del(string s); class TestClass {     static void Hello(string s) {         Console.WriteLine("  Hello, {0}!", s);     }     static void Goodbye(string s) {         Console.WriteLine("  Goodbye, {0}!", s);     }     public static void Test() {         Del...

read more

중국어 간자체 변환

Public Function ToSCUnicode(ByVal str As String) As String Dim arrByte_GBK As Byte() Dim arrByte_UTF16 As Byte() Dim strUTF16 As String ' 현재 시스템 인코딩 Dim _defaultEncoding As Encoding = System.Text.Encoding.GetEncoding(0) ' Chinese Simplified (GB2312) Dim encGBK As...

read more

Join in the conversation

Leave a Comment

0 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

무료 온라인 전광판

전광판

텍스트를 입력하고 텍스트 효과 및 배경효과 를 변경해서 전체화면으로 표시할 수 있는 전광판 용도로 사용하실 수 있습니다. 각종 스포츠 및 공연 관람시 응원 용도로 사용이 가능합니다.

Carousel

여러개의 슬라이드를 추가하여 프레젠테이션 및 이미지 슬라이드 용도로 사용하실 수 있습니다. 브라우저가 포함된 IT 기기로 큰 모니터에 연결하여 매장 내 공지사항 및 메뉴소개를 이미지로 표시할 수 있습니다.

Pin It on Pinterest

Shares
Share This

Share This

Share this post with your friends!

Shares