Search results

  1. D.Moore

    Folder view settings by VBA macro

    Thank you! I did not found this article, I never imagined to search for this title, LOL. i was happy to see that the part to set the FROM sender is somewhat the way I made it so, that's awesome. BUT, this part, does not do, what intended for some reason: ' remove your address from reply all...
  2. D.Moore

    Folder view settings by VBA macro

    PROBLEM TWO solved: I realized a much better solution, than the one mentioned above. I have to use the To property of objItem to retrieve to which email of mine the message had been sent originally to, and set that one as From sender in the newly opened reply message. I am not sure this is the...
  3. D.Moore

    Folder view settings by VBA macro

    PROBLEM ONE half solution: I was able to do some debug, and I had realized, that Reply, ReplyAll and Forward triggers BEFORE openmail, so I am using a global variable and set it to 0 when Reply and Forward, and 1 when ReplyAll and put the own email address removal code into openmail. At this...
  4. D.Moore

    Folder view settings by VBA macro

    Hi Diane, I had decided to solve this problem in a different way as there is no reason to waste your time with something, most probably server level anyway. I will merge the 2 exchange mailbox to one, than it will be a standard shared account, so that way, I will be able to access like the...
  5. D.Moore

    Folder view settings by VBA macro

    Thank you! I had been modified the code as you suggested, but the problem is still the same: I am confused, as the shared mailbox is attached, permissions are owner level, name is correct, what the heck can be bad ?
  6. D.Moore

    Folder view settings by VBA macro

    (if you can, may I ask to remove the 2nd image, where the email address is visible ? The forum did not allowed that, for some reason. Not because of you, just because these these days, I would not like to have "floating around" on a public forum. BIG thanks in advance)
  7. D.Moore

    Folder view settings by VBA macro

    Oh, you right, I should think about/realize that. I removed it, AND It caught 2 errors: First time it was (a I already realized is a typo, and corrected it) an object name problem: because, it should be objDeletedItems, instead of "oDeletedItems". I corrected this. Just a question, how the...
  8. D.Moore

    Folder view settings by VBA macro

    Thank you for the objDestFolder suggestion, you are absolutely right, i correct it. i had added debug prints, but no erroring at all. It simply cannot connect to the different shared mailbox, there for, stepping over. Any idea for a different approach to be try?
  9. D.Moore

    Folder view settings by VBA macro

    it shows up as: >test@test6.com Inbox ... ... ... Sent Items It does not throw any error, just not work. To be precise, by adding MsgBox-es, it does not call/going into objItemsPOLAR_ItemAdd(..)
  10. D.Moore

    Folder view settings by VBA macro

    Yeah, that's what i thought, but for some reason, when I implemented in ThisOutlookSession, it ALWAYS run into GetFolderPath_Error. (I debugged it with MsgBox-es) Private objNS As Outlook.NameSpace Private WithEvents objItemsMADTATU As Outlook.Items Private WithEvents objItemsTARE As...
  11. D.Moore

    Folder view settings by VBA macro

    THANK YOU !! It took couple of hours, but thanks to your help, I was able to put it together, even more, I added all my shared folders to collect Sent Items. But, there is one problem, let me explain: I have 2 types of shared folders: A) Added mail boxes within the very same exchange account...
  12. D.Moore

    Folder view settings by VBA macro

    Diane, you are a super Angel! THANK YOU! The short answer: because I am an idiot. The long answer: because I tried everything with Debugging, and I found the For Each expression to work more faster and stable. BUT, my problem is, that the Debugging seems to be confusing sometimes. I know it is...
  13. D.Moore

    Folder view settings by VBA macro

    Yeah, again, you were right! That did a trick, BUT for some reason it is only moving 1 message, then it stops. Debugger does not raise an error, but it is clear, that the For is only running once. This is drive me crazy, as in the other codes I did, I never had a problem with For Each...
  14. D.Moore

    Folder view settings by VBA macro

    Yes, it is a shared mailbox, AND if by adding an MsgBox objOwner, it is clearly indicate, that shared mailbox name. Addition to this, if I replace " olFolderSentMail" with "oLFolderInbox", I can access it without any trouble. I also checked Sent Items folder permissions and exactly the same as...
  15. D.Moore

    Folder view settings by VBA macro

    Thank you! I checked Redemption, but I am just not there yet. I need to fix all other VBA issues first to get much more practice on it, LOL. So, I get to an other simple task, in which I would like to ask your help on if possible: I need to move all mail items from a shared mailbox Sent Items...
  16. D.Moore

    Folder view settings by VBA macro

    Dear Diane, BIG thank you for your amazing guidance and example help. Thanks to your kind help, I was able to puzzle together the following perfectly working code below. I am sure it is far from perfect, and you could do it in a much easier way, but at least i was working hard with it for...
  17. D.Moore

    Folder view settings by VBA macro

    Forgive me that I am unable to comfirm with a simple YES, as I am not 100% sure I understand you, but I am trying to rephrase my question in what I need: I store my emails in a way, that i create a folder for each year (root), then I create subfolders for each subjects received email (level1)...
  18. D.Moore

    Folder view settings by VBA macro

    Hi! May I ask your kind help with a problem I am struggling with: I have couple hunders of mail fodlers in outlook, and I would like to create a VBA code, which: 0. Manually executed/run. 1. Pops up a Folder Pickup dialog, somethign like this: Sub PickFolder() Dim xNameSpace As NameSpace...
  19. D.Moore

    Macro quetsions

    Well, for me, you are a magician! :) Thanks for the "run" messagebox, I could eliminate it as you instructed. Unfortunatelly, I have 67 subfolders, which I am actively using. Is there any option to set a rule which fires all before the other rules? I mean, the rules has a "stop processing...
  20. D.Moore

    Macro quetsions

    Dear Diane, You are a magician, indeed it did not throw any error when I loaded it! Allow me to ask 2 questions on what I am experiencing: When the email going into the INBOX, it shows a message box: After I push the OK, it process the message and remove the "ATT*" attachment perfectly...
Top