I've developed a workbook with macros in Excel 2007 (Compatibility
Mode), Windows Vista Operating System. The purpose of the Macos
is to allow auto complete on a validated data entry field.
The macros run fine on this platform. I then copied the workbook
to my desktop, Excel 2000, Windows 2000 Professional Operating
System. One of the macros is killing Excel on this platform.
The code is as follows:
and:
I found this code at http://<br />
<br />
http://www.co...DataVal14.html from a lead on
this site.
These macros run fine on platform Excel 2007 (compatibility mode),
Vista but bomb out on Excel 2000, Windows 2000. The line of code
in the TempCombo_KeyDown macro appears to be the culprit.
If I comment out this line(s), the macro runs but the ComboBox
remains visible. Not an overwhelming problem but not as neat.
I get the following error message under Excel 2000:
"Excel.exe has generated errors and will be closed by Windoes.
You will need to restart the program. An error log is being
created."
The error log reports:
Application exception occirred:
App: (pid=2180)
When: 6/1/2009 @ etc.
Exception number: c0000005 (access violation)
I've been wrestling with this for three days with various coding
but cannot get Excel 2000 to buy it.
I'v also been wrestling with the Forum for several days; I'll try
to upload the file later if I can ever get this tread posted.
Any ideas on how I can modify the code to make it compatible would
be greatly appreciated.
Thanks for you help.
John
Bookmarks