PC Review


Reply
Thread Tools Rate Thread

Add-in w/toolbar crashes on one of many company machines

 
 
akh2103@gmail.com
Guest
Posts: n/a
 
      4th Jan 2007
Hello--I have written a series of macros, attached them to a toolbar
and saved them as an add-in for my co-workers to use. The macros had
been working well on many machines for 4 months, but when a co-worker
successfully installed my add-in on his new laptop and tried to run one
of the macros, Excel crashes and gives the message:
"Microsoft Excel encountered a problem and needs to close. Information
may be lost."

I am somewhat of a VB newbie and have no idea where to begin without an
error message. Any suggestions of where to look and what might solve
the problem would be much appreciated.

Thanks.
-Abe

 
Reply With Quote
 
 
 
 
akh2103@gmail.com
Guest
Posts: n/a
 
      4th Jan 2007
So the most likely/plausible culprit is a specific line of code?

-Abe

Charles Chickering wrote:
> Abe, single-step throught the problematic Sub Routine then post the line that
> cause Excel to take a dump. (F8 is the shortcut key to single-step)
> --
> Charles Chickering
>
> "A good example is twice the value of good advice."
>
>
> "(E-Mail Removed)" wrote:
>
> > Hello--I have written a series of macros, attached them to a toolbar
> > and saved them as an add-in for my co-workers to use. The macros had
> > been working well on many machines for 4 months, but when a co-worker
> > successfully installed my add-in on his new laptop and tried to run one
> > of the macros, Excel crashes and gives the message:
> > "Microsoft Excel encountered a problem and needs to close. Information
> > may be lost."
> >
> > I am somewhat of a VB newbie and have no idea where to begin without an
> > error message. Any suggestions of where to look and what might solve
> > the problem would be much appreciated.
> >
> > Thanks.
> > -Abe
> >
> >


 
Reply With Quote
 
akh2103@gmail.com
Guest
Posts: n/a
 
      4th Jan 2007
There are 12 programs and they all crash. This makes me think that one
single line of code is not likely the culprit. Is there any other
possible cause for this problem that I could look into before I talk my
co-worker thru the code, line-by-line over the phone (he is in a
different office)?

-Abe


(E-Mail Removed) wrote:
> So the most likely/plausible culprit is a specific line of code?
>
> -Abe
>
> Charles Chickering wrote:
> > Abe, single-step throught the problematic Sub Routine then post the line that
> > cause Excel to take a dump. (F8 is the shortcut key to single-step)
> > --
> > Charles Chickering
> >
> > "A good example is twice the value of good advice."
> >
> >
> > "(E-Mail Removed)" wrote:
> >
> > > Hello--I have written a series of macros, attached them to a toolbar
> > > and saved them as an add-in for my co-workers to use. The macros had
> > > been working well on many machines for 4 months, but when a co-worker
> > > successfully installed my add-in on his new laptop and tried to run one
> > > of the macros, Excel crashes and gives the message:
> > > "Microsoft Excel encountered a problem and needs to close. Information
> > > may be lost."
> > >
> > > I am somewhat of a VB newbie and have no idea where to begin without an
> > > error message. Any suggestions of where to look and what might solve
> > > the problem would be much appreciated.
> > >
> > > Thanks.
> > > -Abe
> > >
> > >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating a customized toolbar to multiple machines James Microsoft Outlook Installation 1 20th Jun 2008 01:43 PM
This code crashes on one but not all machines? Any ideas? akh2103 Microsoft Excel Programming 0 26th Jan 2007 11:00 PM
LSASS.exe crashes all machines!!!!!!!!!! Jim Kiddoo Microsoft Windows 2000 1 30th Apr 2004 02:06 AM
Excel crashes on several machines with linking and embedding errror Dave Microsoft Excel Crashes 0 12th Aug 2003 01:27 AM
Photodraw 2000 crashes on all machines after sp4 Jordan Goodman Microsoft Windows 2000 Upgrade 0 11th Jul 2003 01:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:44 AM.