View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jean-Yves[_2_] Jean-Yves[_2_] is offline
external usenet poster
 
Posts: 253
Default Excel macro takes focus from other programs

Hi Rul

Send the last bit of your code.
Regards
JY

"RUL" wrote in message
...
I have a macro running in excel. it has to check some automatic updated
numbers each minute. When there is a problem with the numbers it gives a
message - but when there is no problem i do not want to see anything. It
works fine when I work in other spreadsheets in Excel (nothings happens
except when it should) - but if I work in Word, Outlook or so Excel takes
focus everytime the macro runs. Pretty annoing when you write something

and
suddenly writes in Excel instead of word....