D
David
i'm trying to change a cell's formula of a line master by code and it
doesn't work.
the following code doesn't work:
Set mastObj = stnObj.Masters("Line")
Set shpObj = mastObj.PageSheet
Set celObj = shpObj.Cells("LockWidth")
celObj.Formula = "1"
but when i tried to change the formula of the line as a shape after i
droped it to the frame it did work.
the following code did work:
Set mastObj = stnObj.Masters("Line")
Set shpObj = pagObj.Drop(mastObj, 4.25, 5.5)
Set celObj = shpObj.Cells("LockWidth")
celObj.Formula = "1"
what am i doing wrong???
btw the first code compiled. i just didn't see it changed any
formula.
doesn't work.
the following code doesn't work:
Set mastObj = stnObj.Masters("Line")
Set shpObj = mastObj.PageSheet
Set celObj = shpObj.Cells("LockWidth")
celObj.Formula = "1"
but when i tried to change the formula of the line as a shape after i
droped it to the frame it did work.
the following code did work:
Set mastObj = stnObj.Masters("Line")
Set shpObj = pagObj.Drop(mastObj, 4.25, 5.5)
Set celObj = shpObj.Cells("LockWidth")
celObj.Formula = "1"
what am i doing wrong???
btw the first code compiled. i just didn't see it changed any
formula.