A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

My program runs very slow



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 18th 06, 11:41 AM posted to microsoft.public.outlook.program_vba
קובץ
external usenet poster
 
Posts: 11
Default My program runs very slow


Hi,

I wrote a program in outlook (vba, userform). It works fine, but it takes a
long time every time I run it

Are all programs in outlook slow?
How can I make it run faster?

Thanks,
Yonina.


Ads
  #2  
Old January 18th 06, 02:20 PM posted to microsoft.public.outlook.program_vba
Jay Taplin
external usenet poster
 
Posts: 7
Default My program runs very slow

No, not all programs in Outlook are slow. What is it you are doing in your
code?

Jay

"????" wrote in message
...

Hi,

I wrote a program in outlook (vba, userform). It works fine, but it takes
a
long time every time I run it

Are all programs in outlook slow?
How can I make it run faster?

Thanks,
Yonina.




  #3  
Old January 18th 06, 02:40 PM posted to microsoft.public.outlook.program_vba
קובץ
external usenet poster
 
Posts: 11
Default My program runs very slow


My program reads an email from the list, checks the address of the sender
and goes to a table in access to find the address overthere. When it finds
the address in access, it takes some data and copies it to the userform in
outlook (to labels, comboboxes etc.).
When I save the email to a table in access, it's very fast. Only the loading
takes a long time

"Jay Taplin" wrote:

No, not all programs in Outlook are slow. What is it you are doing in your
code?

Jay

"????" wrote in message
...

Hi,

I wrote a program in outlook (vba, userform). It works fine, but it takes
a
long time every time I run it

Are all programs in outlook slow?
How can I make it run faster?

Thanks,
Yonina.





  #4  
Old January 18th 06, 04:54 PM posted to microsoft.public.outlook.program_vba
Jay Taplin
external usenet poster
 
Posts: 7
Default My program runs very slow

Can you try isolating where the speed issue is? Is it at the point where
you read the e-mail from the list? Is it where you check the address of the
sender? Is it where you go to Access to retrieve the address? At that
point we can try tweaks in the appropriate place.

Jay Taplin MCP


  #5  
Old January 19th 06, 08:35 AM posted to microsoft.public.outlook.program_vba
קובץ
external usenet poster
 
Posts: 11
Default My program runs very slow


I think the problem is when I try to find the current email in the file.
I wrote a loop that runs threw the folder and checks for each email.body in
the folder if it matches the current email message. So it depends, if I have
many items in the folder it takes more time.
Maybe I can change the loop? Do you have an idea?


"Jay Taplin" wrote:

Can you try isolating where the speed issue is? Is it at the point where
you read the e-mail from the list? Is it where you check the address of the
sender? Is it where you go to Access to retrieve the address? At that
point we can try tweaks in the appropriate place.

Jay Taplin MCP



  #6  
Old January 20th 06, 06:05 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default My program runs very slow

Am Thu, 19 Jan 2006 00:35:02 -0800 schrieb קובץ:

Jay, you can use CDO or Redemption (www.dimastr.com) for a very fast loop
through the folder.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook



I think the problem is when I try to find the current email in the file.
I wrote a loop that runs threw the folder and checks for each email.body

in
the folder if it matches the current email message. So it depends, if I

have
many items in the folder it takes more time.
Maybe I can change the loop? Do you have an idea?


"Jay Taplin" wrote:

Can you try isolating where the speed issue is? Is it at the point where
you read the e-mail from the list? Is it where you check the address of

the
sender? Is it where you go to Access to retrieve the address? At that
point we can try tweaks in the appropriate place.

Jay Taplin MCP



  #7  
Old January 22nd 06, 03:46 PM posted to microsoft.public.outlook.program_vba
קובץ
external usenet poster
 
Posts: 11
Default My program runs very slow

I can't belive you are offering me to use redemption, cdo etc.!
I tried to use it in the past with NO success! every time I tried a code
sample there was something missing and I had no idea how to fix the code to
make it work!
I finally found code that did what I wanted and works, accept it is slow
I have no idea how to use redemption and cdo. I tried going to sites that
people recommended here in the past, but they were not helpfull.


"Michael Bauer" wrote:

Am Thu, 19 Jan 2006 00:35:02 -0800 schrieb קובץ:

Jay, you can use CDO or Redemption (www.dimastr.com) for a very fast loop
through the folder.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook



I think the problem is when I try to find the current email in the file.
I wrote a loop that runs threw the folder and checks for each email.body

in
the folder if it matches the current email message. So it depends, if I

have
many items in the folder it takes more time.
Maybe I can change the loop? Do you have an idea?


"Jay Taplin" wrote:

Can you try isolating where the speed issue is? Is it at the point where
you read the e-mail from the list? Is it where you check the address of

the
sender? Is it where you go to Access to retrieve the address? At that
point we can try tweaks in the appropriate place.

Jay Taplin MCP




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Deleting Roger Mantle Outlook Express 1 March 4th 06 07:14 PM
slow opening visions Outlook Express 1 March 3rd 06 08:52 PM
Code runs in design mode karlman Outlook - Using Forms 2 January 27th 06 05:49 PM
Open program with ... Ann Outlook Express 3 January 18th 06 05:24 PM
Create a macro that runs from a Rule CF_business_analyst Outlook and VBA 8 January 13th 06 05:12 PM


All times are GMT +1. The time now is 07:10 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.