MSDN > 論壇首頁 > SharePoint - Excel Services > Is it possible to use ExcelServices webservice to format cells?
發問發問
 

已答覆Is it possible to use ExcelServices webservice to format cells?

  • Monday, 29 June, 2009 20:15mooserz 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Is it possible to use the ExcelServices web service to format a cell or a range??? Modifying the data works great now, but I'm not seeing much on working out colors, borders, etc.
    • 已編輯Mike Walsh MVPMVP, 版主Tuesday, 30 June, 2009 6:41Excel Servicesa added to Title and it was slightly re-written to make it into a question
    •  

解答

  • Tuesday, 7 July, 2009 22:49Shahar Prish - MSFT 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    There is no direct way of doing that.

    That said, you can use conditional formatting based on another cell to do this - it will be quite annoying and will not be realistic for complex formatting, but there you have it.
    Shahar Prish Blog: http://blogs.msdn.com/CumGranoSalis Professional Excel Services: http://www.amazon.com/Professional-Excel-Services-Programmer/dp/0470104864

所有回覆

  • Friday, 3 July, 2009 8:53Serge Luca [MVP]MVP使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I don't see any way to do this withe the Excel Services API, but you can modify the spreadsheet by using the OpenXml sdk 2.0   and re-publish it


    Serge Luca; blog: http://www.redwood.be
  • Tuesday, 7 July, 2009 22:49Shahar Prish - MSFT 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    There is no direct way of doing that.

    That said, you can use conditional formatting based on another cell to do this - it will be quite annoying and will not be realistic for complex formatting, but there you have it.
    Shahar Prish Blog: http://blogs.msdn.com/CumGranoSalis Professional Excel Services: http://www.amazon.com/Professional-Excel-Services-Programmer/dp/0470104864