Hi,
The dataset could not be string, that is why the error massage show. You can change your code to:
vector<string> vs;
vector<string> vctMyText;
vctMyText.SetSize(dMyData.GetSize());
col.GetStringArray(vs);
//col is the column you want to put dMyNewData in worksheet B
for(int j=0;j<vctMyText.GetSize();j++)
{
vctMyText[j]="My Text Content";
}
vs.Append(vctMyText);
col.PutStringArray(vs);
Cecilia
OriginLab Corp.