Word 2010 VBA Restrictions

Restrictions found in VBA for Word 2010

  • Cannot create subclasses of classes.
  • Can pass static arrays to functions and procedures, but not methods. Get a compile error.
  • Cannot delete paragraph or table styles from the template using style.Delete. Get run-time error.
  • Cannot add table styles to the template. Get run-time error when code hits template.Style.baseStyle = myStyle.baseStyle.
  • Cannot add paragraph styles to the template. No error, but setting of template.Style.NextParagraphStyle is ignored.