Microsoft Developer Network > Forenhomepage > SharePoint - Excel Services > Is it possible to use ExcelServices webservice to format cells?
Stellen Sie eine FrageStellen Sie eine Frage
 

BeantwortetIs it possible to use ExcelServices webservice to format cells?

  • Montag, 29. Juni 2009 20:15mooserz TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    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.
    • BearbeitetMike Walsh MVPMVP, ModeratorDienstag, 30. Juni 2009 06:41Excel Servicesa added to Title and it was slightly re-written to make it into a question
    •  

Antworten

  • Dienstag, 7. Juli 2009 22:49Shahar Prish - MSFT TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet
    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

Alle Antworten

  • Freitag, 3. Juli 2009 08:53Serge Luca [MVP]MVPTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    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
  • Dienstag, 7. Juli 2009 22:49Shahar Prish - MSFT TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet
    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