This is my first post =).
I am using Word VBA in which I have controls such as CommandButton1 and Terminal1. Whilst CommandButton1 is a "Word VBA" control. The Terminal! is I think what is called an ActiveX control. It is part of a DLL file.
My problem is that since we have gone Windows XP Professional, every now and then my macros stop working and the debug screen comes up.
This is because the control names have changed (seemingly by themselves). The macros are password protected and I don't think any of the users would even know how to change the control names! There is also a pattern to how the controls are renamed.
CommandButton1 becomes CommandButton11
Terminal1 becomes Terminal11
if I had say a control cmbFlights12 this would become something like cmbFlights121 or cmbFlights122.
This does not happen on all sets.
Can any help please, sorry if my terminology was incorrect.
Many thanks.
Chas

Controls in a Word Document
Justin Patterson
Hi,
You asked in the right forum but it's a difficult question to answer. It's surprising that an update to XP would change the names of the command buttons and control, if you have a problem with the activex control only then it would of been easier to answer. What does the debug screen say, whats the actual error message your getting
drhoades32
A Word MVP has answered this another forum and says that this type of thing can happen if you do not name your control by something other than its default name (ie CommandButton1).
This is something that happens without rhyme or reason so it maybe weeks before I see the results again
ChasAA
pershing
Can anyone please advise if I should ask this question in another forum.
ChasAA