Hi,
I have a Word document that is created by a VB program through automation. This document contains anywhere from 10 to 200 or so command buttons that I use to delete rows from an Oracle database and update rows in a SQL database (the same button performs both functions).
Randomly, for no reason that I can discern, Word corrupts the names of the CommandButtons during a file save, by appending a 1 onto the right side of the name--for example, CommandButton23 becomes CommandButton231. When this happens, the next time I try to open the file, I get an error message, "Can't exit design mode because control CommandButton23 can not be created".
This is a great app, but this problem is driving me nuts. Has anyone seen anything like this? Any help greatly appreciated.
Tranman
I have a Word document that is created by a VB program through automation. This document contains anywhere from 10 to 200 or so command buttons that I use to delete rows from an Oracle database and update rows in a SQL database (the same button performs both functions).
Randomly, for no reason that I can discern, Word corrupts the names of the CommandButtons during a file save, by appending a 1 onto the right side of the name--for example, CommandButton23 becomes CommandButton231. When this happens, the next time I try to open the file, I get an error message, "Can't exit design mode because control CommandButton23 can not be created".
This is a great app, but this problem is driving me nuts. Has anyone seen anything like this? Any help greatly appreciated.
Tranman