Microsoft Developer Network > Página principal de foros > SharePoint - Excel Services > Is it possible to use ExcelServices webservice to format cells?
Formular una preguntaFormular una pregunta
 

RespondidaIs it possible to use ExcelServices webservice to format cells?

  • lunes, 29 de junio de 2009 20:15mooserz Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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.
    • EditadoMike Walsh MVPMVP, Moderadormartes, 30 de junio de 2009 6:41Excel Servicesa added to Title and it was slightly re-written to make it into a question
    •  

Respuestas

  • martes, 07 de julio de 2009 22:49Shahar Prish - MSFT Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida
    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

Todas las respuestas

  • viernes, 03 de julio de 2009 8:53Serge Luca [MVP]MVPMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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
  • martes, 07 de julio de 2009 22:49Shahar Prish - MSFT Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida
    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