"No Data" is system digital state in PI. You can pass digital state code (248) as value to PI point and it will write "No Data" value.
@Lal Babu Shaik
Thanks for the reply. I know that "No Data" is a Digital State in PI. But I don´t know how to write that using VBA con Excel. Also I don´t know if that works on a IMD tag that collects String data.
The code line that I am using to write is this one:
"srv.PIPoints(Sheet5.Cells(IntFilaTA_1, IntColTA_1).Text).Data.UpdateValue DBLValorTA_1, DTFechaTA, dmReplaceDuplicates IntContadorTA_1 = IntContadorTA_1 + 1"
Sheet5.Cells(IntFilaTA_1, IntColTA_1 --> Here is the tagname to write
DBLValorTA_1 --> Here is the value to write to the tag.
DTFechaTA --> The date to write the PI Point.
Can you help me with this.