Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a file in which the code was done in Excel 2003. Modifications were
made on a machine which has Excel 2000 and now the file will only run on Excel 2000 and will not run on Excel 2003. I get the error message when opening: Cannot exit design mode as cmdShowForm cannot be created Can anyone help me with this error please? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
What controls are on the form? regards Paul |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Paul,
There are a number of controls on the form, including Textboxes, Option buttons and Checkboxes " wrote: Hi What controls are on the form? regards Paul |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Thought it might be a slightly different fancy control, like a calendar, causing the glitch. What is the security setting on the file - putting it on high can dump you into design mode sometimes. Try setting it to medium or low. regards Paul |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Paul,
Setting is medium. The file runs on Excel 2000, but will not run on Excel 2003 or 2002. It is stopping at bog standard lines of code such as frmMain.Show etc. " wrote: Hi Thought it might be a slightly different fancy control, like a calendar, causing the glitch. What is the security setting on the file - putting it on high can dump you into design mode sometimes. Try setting it to medium or low. regards Paul |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Was the code updated on the other machine using VB or VBA? If VBA, all controls are "design time" controls (a licensing issue) while in VB they can be "run time" controls. You may now be trying to access properties of a VB created "run time" control. I don't know how you would fix that apart from removing the offending controls and putting back the VBA ones. You might try installing VB on your machine - that might fix it. Hardly practical though as a work around. regards Paul |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Paul,
The code was updated on the machine running Excel 2000 using VBA. I just can't understand where the problem is. When there is a problem with one form, I replaced the form and it ran so far until the next error, so I replaced that and it ran a bit further, but I get so far and then the error reverts to the first form again. I have been trying to solve this for 3 days! There are 33 forms, many with over 200 textboxes and other controls on them, so I don't really want to start again. " wrote: Hi Was the code updated on the other machine using VB or VBA? If VBA, all controls are "design time" controls (a licensing issue) while in VB they can be "run time" controls. You may now be trying to access properties of a VB created "run time" control. I don't know how you would fix that apart from removing the offending controls and putting back the VBA ones. You might try installing VB on your machine - that might fix it. Hardly practical though as a work around. regards Paul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 + hungapp errors | Excel Discussion (Misc queries) | |||
errors in Excel 2003 | Excel Discussion (Misc queries) | |||
Why do I get calculation errors with Athlon and Excel 2003? | Excel Discussion (Misc queries) | |||
excel 2003: Module errors | Excel Programming | |||
Excel 2003 Updates, and Errors | Setting up and Configuration of Excel |