Microsoft Developer Network > Página Inicial dos Fóruns > SharePoint - Excel Services > Is it possible to use ExcelServices webservice to format cells?
Fazer uma PerguntaFazer uma Pergunta
 

RespondidoIs it possible to use ExcelServices webservice to format cells?

  • segunda-feira, 29 de junho de 2009 20:15mooserz Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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, Moderadorterça-feira, 30 de junho de 2009 6:41Excel Servicesa added to Title and it was slightly re-written to make it into a question
    •  

Respostas

  • terça-feira, 7 de julho de 2009 22:49Shahar Prish - MSFT Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    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 as Respostas

  • sexta-feira, 3 de julho de 2009 8:53Serge Luca [MVP]MVPMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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
  • terça-feira, 7 de julho de 2009 22:49Shahar Prish - MSFT Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    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