M
Mordechai
I'm trying to set tab stops using VBA. Although the code
seems to execute and it corresponds to what I see in the
Visio 2003 Macro Recorder, it's not working. What I get
is an "INVALID TOKEN" in the position cell of the shape
sheet. I've tried every theme and variation I could think
of but nothing seems to work. Here is the code I've been
working with:
.CellsSRC(visSectionTab, 0, visTabStopCount).FormulaU
= "2"
.CellsSRC(visSectionTab, 0, 0 * 3 +
visTabPos).FormulaU = "0.25 in"
.CellsSRC(visSectionTab, 0, 0 * 3 +
visTabAlign).FormulaU = "3"
.CellsSRC(visSectionTab, 0, 0 * 3 + 3).FormulaU
= "0"
.CellsSRC(visSectionTab, 0, 1 * 3 +
visTabPos).FormulaU = "0.75 in"
.CellsSRC(visSectionTab, 0, 1 * 3 +
visTabAlign).FormulaU = "3"
.CellsSRC(visSectionTab, 0, 1 * 3 + 3).FormulaU
= "0"
Any help would be greatly appreciated.
Thanks.
seems to execute and it corresponds to what I see in the
Visio 2003 Macro Recorder, it's not working. What I get
is an "INVALID TOKEN" in the position cell of the shape
sheet. I've tried every theme and variation I could think
of but nothing seems to work. Here is the code I've been
working with:
.CellsSRC(visSectionTab, 0, visTabStopCount).FormulaU
= "2"
.CellsSRC(visSectionTab, 0, 0 * 3 +
visTabPos).FormulaU = "0.25 in"
.CellsSRC(visSectionTab, 0, 0 * 3 +
visTabAlign).FormulaU = "3"
.CellsSRC(visSectionTab, 0, 0 * 3 + 3).FormulaU
= "0"
.CellsSRC(visSectionTab, 0, 1 * 3 +
visTabPos).FormulaU = "0.75 in"
.CellsSRC(visSectionTab, 0, 1 * 3 +
visTabAlign).FormulaU = "3"
.CellsSRC(visSectionTab, 0, 1 * 3 + 3).FormulaU
= "0"
Any help would be greatly appreciated.
Thanks.