M
MikeM
I want to assign sex to a shape based on some outside criterion, using VBA. I
thought I could just use, in the shape data section (with Type = 1 and Format
= "M;F")
with [shape]
if [condition] then .cells("Prop.Sex") = "M" else .cells("Prop.Sex") = "F"
end with
Then I tried 0 and 1 instead of "M" and "F", but that didn't work either.
How do I change the value in that cell?
TIA,
Mike
thought I could just use, in the shape data section (with Type = 1 and Format
= "M;F")
with [shape]
if [condition] then .cells("Prop.Sex") = "M" else .cells("Prop.Sex") = "F"
end with
Then I tried 0 and 1 instead of "M" and "F", but that didn't work either.
How do I change the value in that cell?
TIA,
Mike