Shashank Shekhar
Shashank Shekhar

Reputation: 4198

Setting string values to Viso shapedata

I have a visio shape with shape data column Prop.Name of type string
when i try to set its value using
Visio.Cell propCell = _shapeList[i].get_Cells("Prop.Owner");
propCell.FormulaForceU = "asd";

I get an error: #NAME?

This does not happen if i pass a numeric string .
How can i pass characters other than number ?

Upvotes: 0

Views: 930

Answers (2)

AmolG
AmolG

Reputation: 1

I am trying to update the shape property value with the normal string as like 'Set Value' it gives error #NAME?.

After giving

c.Formula ="\"Set Value\"";

it begins to work.

Upvotes: 0

reza
reza

Reputation: 36

propCell.FormulaForceU = "\"asd\"";

Upvotes: 1

Related Questions