M
Michael Schnell
All,
I'm trying to write a VB6 addin for Word XP that will "create" a drop down
box indicating a certain classification to the "document". This being,
among others, Confidential, Internal Use Only, etc. This is supposed to be
tied to the individual document and will be printed out in the footer of
each document.
I've gotten the commandbar and combo box to appear and gotten this to work
with one document. However, as soon as a second document is created/opened
(while the first is still open), the whole thing just seems to stop working.
The box is still there, but any changes I make to the box in the second
document seem to apply to the first document and nothing happens on the
first.
This is probably related somehow, but I'm also getting an error when trying
to set the .OnAction property of the combobox. I have the .OnAction item
set to what it's supposed to be (MyDll name.Connect class), but I keep
getting the error "The macro cannot be found or has been disabled because of
your Macro security settings" whenever I change the combo box contents and
the .OnAction property was set. If I comment out that line, the error
doesn't show. However, I know that it's not the security settings because
I've got the macro security set to Low (this is inside a VPC on a
disconnected laptop, so the security isn't a problem).
TIA,
Michael Schnell
(e-mail address removed)
I'm trying to write a VB6 addin for Word XP that will "create" a drop down
box indicating a certain classification to the "document". This being,
among others, Confidential, Internal Use Only, etc. This is supposed to be
tied to the individual document and will be printed out in the footer of
each document.
I've gotten the commandbar and combo box to appear and gotten this to work
with one document. However, as soon as a second document is created/opened
(while the first is still open), the whole thing just seems to stop working.
The box is still there, but any changes I make to the box in the second
document seem to apply to the first document and nothing happens on the
first.
This is probably related somehow, but I'm also getting an error when trying
to set the .OnAction property of the combobox. I have the .OnAction item
set to what it's supposed to be (MyDll name.Connect class), but I keep
getting the error "The macro cannot be found or has been disabled because of
your Macro security settings" whenever I change the combo box contents and
the .OnAction property was set. If I comment out that line, the error
doesn't show. However, I know that it's not the security settings because
I've got the macro security set to Low (this is inside a VPC on a
disconnected laptop, so the security isn't a problem).
TIA,
Michael Schnell
(e-mail address removed)