none
how to add a macro programmatically RRS feed

  • Question

  • I have a word document which serves as a template for a report. The document has a table having a single row. One of the cell belonging to the row contains a combobox (activeX). I have VBA code corresponding to combobox_change event embedded in the document. What i am doing is ,depending on the number of records I find, I clone the row , now here lies the problem, when i clone, all the content controls get copied perfectly but the combobox behaves as an image. I want to know how to add combobox and VBA code corresponding to it. (VBA code for each combobox_change event is same)
    Thursday, April 30, 2009 1:51 PM

All replies

  • i think conbo box is much more complicated, since there's a list value within it. have you copied that?
    Thursday, May 7, 2009 9:58 AM