Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
sc sc is offline
external usenet poster
 
Posts: 28
Default addin not running correctly

I have created an addin in excel 2002. I load the addin through
toolsaddinsbrowse. It then puts a menu item in the tools menu. I click on
the addin and the userform I created comes up and I hit the ok button on my
userform. It runs for about 30 seconds and then gives me an error. I
noticed I had a GoTo statement between a With and End With. So I cut
everything in the GoTo staement and put it outside the With staement and ran
it again. It ran correctly so I saved the addin file. I then closed excel
and tried to run it again. It did not give me an error message it just quit
running. So I went to the VBE and made sure the code was correct. It was
correct. So I then ran the addin again and it ran fine. It seems like after
a bad run the next one is a good run. Any suggestions to what is causing
this?

Any help is appreciated
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default addin not running correctly

and made sure the code was correct. It was correct. ....

Not quite.
If you post that code we may have a chance to see what is wrong.

RBS

"sc" wrote in message
...
I have created an addin in excel 2002. I load the addin through
toolsaddinsbrowse. It then puts a menu item in the tools menu. I click
on
the addin and the userform I created comes up and I hit the ok button on
my
userform. It runs for about 30 seconds and then gives me an error. I
noticed I had a GoTo statement between a With and End With. So I cut
everything in the GoTo staement and put it outside the With staement and
ran
it again. It ran correctly so I saved the addin file. I then closed
excel
and tried to run it again. It did not give me an error message it just
quit
running. So I went to the VBE and made sure the code was correct. It was
correct. So I then ran the addin again and it ran fine. It seems like
after
a bad run the next one is a good run. Any suggestions to what is causing
this?

Any help is appreciated


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
Data don't enter correctly in Excel 2002 running under Vista Conrad Excel Discussion (Misc queries) 3 December 11th 07 05:52 AM
Unshimmed Automation Addin and Shimmed COM Addin in same App Domai Brandon Excel Programming 0 June 27th 06 11:18 PM
Running an addin-macro from another Macro Samir Excel Programming 3 May 23rd 06 06:57 PM
Workbook_BeforeClose change event not running correctly Peter Rooney Excel Programming 4 August 5th 05 04:26 PM
Remove Excel AddIn from AddIn List !! Help carl Excel Programming 2 December 8th 03 03:36 PM


All times are GMT +1. The time now is 05:36 PM.

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

About Us

"It's about Microsoft Excel"