K
KR
I've created a workbook with 2 userforms and my macros; it all works well on
my PC and several others. For the few folks who have had problems, they have
been able to email me screenshots so that I know where the errors are
occuring and can fix them. Everyone is using either Win2000 or WinXP, and
Office2000 or Office2003.
However, I have one person who's PC I don't have easy access to, who is
having a problem I haven't seen and I'm not sure how to debug.
What appears to work:
---------------------------
Worksheet_open code
the one button in the worksheet to open the userform
However, when she clicks on a commandbutton on the userform, it crashes her
excel. This is the same file that seems to be working on everyone else's PC.
Are there any settings or other issues that could cause a problem executing
userform code? The one time I observed this crash on her PC (in person) it
was when she clicked on a button that only has four lines of code; one to
clear a listbox, a for-next loop, and in the loop, a line of code that adds
names into the listbox. Since the workbook and code works for everyone
else... I'm not sure what to check next. I can open the exact same file on
my PC and it works fine, so there isn't anything wrong with the names list
or other pieces of code, it is something that is different about the Excel
or Windows files (e.g. potential corruption) or settings that is beyond
anything I've had to deal with before.
Any ideas?
Thanks,
Keith
my PC and several others. For the few folks who have had problems, they have
been able to email me screenshots so that I know where the errors are
occuring and can fix them. Everyone is using either Win2000 or WinXP, and
Office2000 or Office2003.
However, I have one person who's PC I don't have easy access to, who is
having a problem I haven't seen and I'm not sure how to debug.
What appears to work:
---------------------------
Worksheet_open code
the one button in the worksheet to open the userform
However, when she clicks on a commandbutton on the userform, it crashes her
excel. This is the same file that seems to be working on everyone else's PC.
Are there any settings or other issues that could cause a problem executing
userform code? The one time I observed this crash on her PC (in person) it
was when she clicked on a button that only has four lines of code; one to
clear a listbox, a for-next loop, and in the loop, a line of code that adds
names into the listbox. Since the workbook and code works for everyone
else... I'm not sure what to check next. I can open the exact same file on
my PC and it works fine, so there isn't anything wrong with the names list
or other pieces of code, it is something that is different about the Excel
or Windows files (e.g. potential corruption) or settings that is beyond
anything I've had to deal with before.
Any ideas?
Thanks,
Keith