Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

CalculateFormula alternative?

Last post 07-02-2009, 12:34 PM by Amjad Sahi. 3 replies.
Sort Posts: Previous Next
  •  07-01-2009, 3:13 PM 186477

    CalculateFormula alternative? .NET

    CalculateFormula is not working for me. I have a very complicated workbook for thousands of formulas. is there a way to open a excel file with recalculated values and bind the workbook to aspose.cells.Workbook object?

    Thanks in advance.
     
  •  07-02-2009, 1:01 AM 186520 in reply to 186477

    Re: CalculateFormula alternative?

    Hi,

    Could you explain your scenario in detail and what do you mean by "bind the workbook to Aspose.Cells.Workbook object"? How do you call the CalculateFormula() method and does it give you some error at runtime? We also appreciate if you could post your template excel file here. We will check your issue soon.

    Thank you.


    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  07-02-2009, 9:25 AM 186604 in reply to 186520

    Re: CalculateFormula alternative?

    Hi, I'm sorry I can't post the excel file here since it will violate our business rules. What I need is when I call 
    Workbook workbook = new Workbook();
    workbook.open("filename"); 
    //change some inputs
    workbook.save("filename");
    workbook.open("filename");

    I want the workbook to open as a recalculated data without physically open the saved excel file in Excel then saved.
     
  •  07-02-2009, 12:34 PM 186634 in reply to 186604

    Re: CalculateFormula alternative?

    Hi,

    Well, I think you need to call Workbook.CalculateFormula() before saving the excel file, what happens when you call the method? We still appreciate if you could post your template file, it will help us really to find and figure out the issue. We always take care of our client's data, I think you may fill the worksheet(s) with some dummy data (if possible) and post it here. Also,  you may check the checkbox labeled "Keep this post private", now only you and Aspose staff would be able to see/download your attachments. Alternatively, you may post your template file(s) directly to us via email. Since your file contains confidential data, you can email to us, so we can resolve your issue ASAP. To email please follow these under mentioned steps,

    1:         click the Contact button in the Post.

    2:         In the drop down list options click "Send Amjad Sahi an Email”.

    3:         Attach the template file and send it with all the details.

    4:         Once you have done it, kindly confirm us on this thread.

     

    Thank you.

     


    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
View as RSS news feed in XML