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?
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.
Member
75 Points
267 Posts
Changing text in multiple Word documents when opened in a C# application
Sep 25, 2020 11:27 AM|jonnygareth30|LINK
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
All-Star
52961 Points
23563 Posts
Re: Changing text in multiple Word documents when opened in a C# application
Sep 25, 2020 11:42 AM|mgebhard|LINK
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.