Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Userfrom code in written in Excel 2000 running in Excel 97
Hi
I have a workbook that was written in Excel 2000. It has a userforms with code behind it ....executed by a command button. I sent it to a person running Excel 97 and every time they click on the command button (on the userform) to run the code ...they get a run time error message. The code that starts to run is: Private Sub CommandButton1_Click() ActiveWorkbook.Sheets("TelephoneInfo").Unprotect (this is where it stops) Is this due to the version differences? Any help is greatly appreciated... Thanks in advance! Kimberly |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Userfrom code in written in Excel 2000 running in Excel 97
Set the TakefocusOnClick property of the commandbutton to False. This is a
bug in Excel 97. -- Regards, Tom Ogilvy "KimberlyC" wrote in message ... Hi I have a workbook that was written in Excel 2000. It has a userforms with code behind it ....executed by a command button. I sent it to a person running Excel 97 and every time they click on the command button (on the userform) to run the code ...they get a run time error message. The code that starts to run is: Private Sub CommandButton1_Click() ActiveWorkbook.Sheets("TelephoneInfo").Unprotect (this is where it stops) Is this due to the version differences? Any help is greatly appreciated... Thanks in advance! Kimberly |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Running Excel 2000 VBA Application on Excel 2003 | Excel Worksheet Functions | |||
Excel xp running with Office 2000 | Excel Discussion (Misc queries) | |||
Excel 2000 running on Windows XP SP2 does not properly open CSV fi | Excel Discussion (Misc queries) | |||
VB code needed for running newer excel version macros in older excel versions | Excel Programming | |||
macro written in Excel 2000 not working in Excel 2002 | Excel Programming |