A
Andy M
When running VBA code in a Word document, I'm getting a
value of 9999999 for a couple of properties, such as
ActiveDocument.PageSetup.LeftMargin and
ActiveDocument.Tables(2).Range.Rows(rw).Cells(c).Width.
Although I'm only calling the margin property once (and
getting the error), the width property applies to hundreds
of cells in several tables, but only occasionally comes
back as 9999999.
This is always with merged cells, which is what I'm trying
to get rid of at this part of the procedure, though not
all of the merged cells give the error.
Any suggestions anyone?
Thanks
value of 9999999 for a couple of properties, such as
ActiveDocument.PageSetup.LeftMargin and
ActiveDocument.Tables(2).Range.Rows(rw).Cells(c).Width.
Although I'm only calling the margin property once (and
getting the error), the width property applies to hundreds
of cells in several tables, but only occasionally comes
back as 9999999.
This is always with merged cells, which is what I'm trying
to get rid of at this part of the procedure, though not
all of the merged cells give the error.
Any suggestions anyone?
Thanks