Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Running Code looses focus to Outlook and stops

Hi there, thanks for your attention!!! Windows XP/ Excel 2002

I wrote a program in VBA for Excel that compares data in 2 columns
in 2 different sheets in 2 different workbooks.
The code is in WorkBook1, and it performs its check on
data in columns in WorkBook2 and WorkBook3.

A form is shown Non-Modal, so the user can put the cursor
on a column on a worksheet to compare, and click a button on the form
so the program receives the information of the objects:
ActiveWorkBook, ActiveSheet, and Column.

The program runs fine, with one problem:
When my Outlook performs its send/receive task, scheduled every 15 minutes,
my VBA code stops, and does not start again.

If I close all programs including Outlook everything works fine.

Does this have somthing to do with showing the form Non-Modal ?
Is there a solution to this ??

Thanks for your time !!!
Steven Kelder
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
Code Stops Running Instead of Debugging [email protected] Excel Discussion (Misc queries) 1 December 10th 08 07:15 PM
Instead of debugging, code just stops running [email protected] Excel Discussion (Misc queries) 1 August 13th 08 07:26 PM
Weary Traveler Needs Assistance: Change Focus to Outlook Contacts Cole Excel Discussion (Misc queries) 0 November 6th 06 03:06 PM
excel open in outlook if outlook is running kirk Excel Discussion (Misc queries) 0 May 24th 06 06:42 PM
why excel stops running?? usiddiqi Excel Discussion (Misc queries) 2 May 17th 06 10:14 AM


All times are GMT +1. The time now is 11:40 AM.

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"