Microsoft 开发人员网络 > 论坛主页 > SharePoint - Excel Services > Is it possible to use ExcelServices webservice to format cells?
提出问题提出问题
 

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

  • 2009年6月29日 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, 版主2009年6月30日 6:41Excel Servicesa added to Title and it was slightly re-written to make it into a question
    •  

答案

  • 2009年7月7日 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

全部回复

  • 2009年7月3日 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
  • 2009年7月7日 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