Greetings,
When I copy and paste following code into Microsoft Outlook 2010 Module1 then the code works.
I want to run code above from Microsoft Excel 2010 Module1.Please Login or Register to view this content.
Any idea?
Greetings,
When I copy and paste following code into Microsoft Outlook 2010 Module1 then the code works.
I want to run code above from Microsoft Excel 2010 Module1.Please Login or Register to view this content.
Any idea?
Sub DontForgetThese() If Your thread includes any code Then Please use code tags... If Your thread has been solved Then Please mark as solved... If Anybody has helped to you Then Please add reputation... End Sub
Hi, Herry!
Let's give early binding a try. Works, if your Excel has the same version as Outlook.
Please Login or Register to view this content.
Best wishes and have a nice day!
Hi Rioran,
Thank you very much! Solved.
Or even better, remove the reference:
Please Login or Register to view this content.
Hi Kyle,
Why your code is better?
Last edited by HerryMarkowitz; 07-20-2015 at 06:10 AM.
Because it doesn't need a reference setting, so in theory it's more compatible with different outlook versions
Hi Kyle,
Your code gives an error on this line;
Please Login or Register to view this content.
You can't really get an error on that line. What does it say? Have you already declared it elsewhere?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks