Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default errors in Excel 2003

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default errors in Excel 2003

Hi
What controls are on the form?

regards
Paul

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default errors in Excel 2003

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default errors in Excel 2003

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default errors in Excel 2003

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default errors in Excel 2003

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default errors in Excel 2003

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 + hungapp errors rick m Excel Discussion (Misc queries) 0 March 25th 08 09:27 AM
errors in Excel 2003 Kilbrennan Excel Discussion (Misc queries) 0 April 6th 06 11:32 AM
Why do I get calculation errors with Athlon and Excel 2003? Rick1459 Excel Discussion (Misc queries) 4 October 31st 05 12:22 PM
excel 2003: Module errors Kikulitz Excel Programming 1 May 11th 05 01:42 PM
Excel 2003 Updates, and Errors SchachMeister Setting up and Configuration of Excel 0 April 25th 05 05:33 PM


All times are GMT +1. The time now is 03:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"