locked
Changing text in multiple Word documents when opened in a C# application RRS feed

  • Question

  • User-1901014284 posted

    Hi,

    I am looking to change text in multiple Word and Excel documents when the document has been opened through my C# application. for example i would have Ccc in multiple Word and Excel documents but would want to change this to an actual company name. the documents are stored within a folder on the server. I am wondering if there is a way to make this work please?

    Many thanks in advance for any help.

    Jonny

    Friday, September 25, 2020 11:27 AM

All replies

  • User475983607 posted

    I am looking to change text in multiple Word and Excel documents when the document has been opened through my C# application. for example i would have Ccc in multiple Word and Excel documents but would want to change this to an actual company name. the documents are stored within a folder on the server. I am wondering if there is a way to make this work please?

    Many thanks in advance for any help.

    Find Word and Excel APIs, learn how to use the APIs by reading the documentation, then design a solution.  I used OpenXMLin the past. Be aware there is a learning curve.

    https://docs.microsoft.com/en-us/office/open-xml/open-xml-sdk

    Keep in mind, your question is out of scope for this ASP.NET support forum.

    Friday, September 25, 2020 11:42 AM