We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Words- How to find table in Header and change value of cell?

Hi,All! I’m very newbie in Aspose. Can you help me to change cell value in docx document?

Hi Pavel,

Thanks for your inquiry. Please use Range.Replace method to replace all occurrences of a specified string with another string.

Could you please attach your input and expected output Word documents here for our reference? We will then provide you more information about your query along with code.

I’ve fixed my problem with DocumentBuilder this way

DocumentBuilder db = new DocumentBuilder(tCard);
db.Write(string.Format("#{0}",WO==null ? string.Empty : WO.ToString()));

Hi Pavel,

Thanks for your feedback. It is nice to hear from you that you have solved your issue. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.