Deepak
Excel Ninja
Hey Deepak.
Still no luck..after changing suggested line of code.
Have u checked with chihiro's optimized code.
In break mode also check which mail is causing the error and what's the mail for it.
Hey Deepak.
Still no luck..after changing suggested line of code.
It's not implimented yet.Change that to below & check.
Code:.Cells(intRow, 3) = oMail.Subject
Hello Deepak.
Here is the new problem with outlook emails copying to excel.
This is a different macro which i wanted to live with as it look simple.
Attached the working file.
Columns required from outlook Emails
S.no || ConversationID || Sender's Email || ReceivedDate || ReceivedTime || Size || Subject
1) When you click on button "Get Mails" able to get all mails copied to excel as per the columns expected.
2) We only have option Received time as a property...but looking for Received date and Time in a separate column need some tweak on this.
3) As of now trying to retrieve email from out look based on current date..but what really required is on ConversationID which is in "B" column... that is macro should check what was the last ConversationID and should retrieve emails on daily basis... i meen may be new Conversation IDs need to copied to excel
Finally this macro work excellent when working on my home PC as am on POP/SMTP server...Where same macro not able to retrieve and getting error at Sender's email id's as in office outlooks works on Exchange server.....Not really sure what is the problem..
Hope am not confusing...Please let me know if you have any questions..
Thanks in advance.
Hello Chihiro..
Thanks for testing file for me..Some how file is not responding and not allowing to select the folder.
View attachment 37534
Still am looking for this to work...Working from my end...I really appreciate if you can help me with this.
I forget to attach for 2.
Format the column accordingly.
Code:'Date and time workings Cells(n, 4) = Int(olMail.ReceivedTime) Cells(n, 5) = olMail.ReceivedTime - Cells(n, 4) 'Size Cells(n, 6) = olMail.Size
I don't have xl >2010 so wait till someone respond on the same.