Recent content by Mark White

  1. Mark White

    VBScript Move sent mail to non-default folder

    Brilliant, Diane - works a treat. Thanks you so so much Mark
  2. Mark White

    VBScript Move sent mail to non-default folder

    Thanks, Diane, I haven't been able to come back to this site for a couple of days, but I'll give this a go. Will give you feedback as soon as poss but thanks again. m
  3. Mark White

    VBScript Move sent mail to non-default folder

    Hi, I'm trying to move a sent email from the sent box to an other shared mailbox subfolder. I can't use VBA as macros are disabled and am finding it difficult to change the GetFolderPath() function to work in VBScript. Below is how I call it but I'm having trouble converting the VBA code into...
  4. Mark White

    Trying to appactivate ERP window

    Ooops... you're using VB my code is VBA... Sorry- prolly worth a try though
  5. Mark White

    Trying to appactivate ERP window

    Sadly no... just dim the variable strFilePath, then in yr code say where it is strFilePath = ".....\...\...exe" and then on the next line use the code I sent before... so dim strFilePath as string strFilePath = "C:\Users\" & Environ("username") & "\Documents\BlarBlarBar.exe" VBA.Shell...
  6. Mark White

    [Help] Converting array to destination folder path

    Check out Diane's excellent code here: Working with VBA and non-default Outlook Folders
  7. Mark White

    Trying to appactivate ERP window

    You might try using Explorer to do it for you... using the file path (strFilePath) VBA.Shell "Explorer.exe " & Chr(34) & strFilePath & Chr(34), vbNormalFocus ' Use Windows Explorer to launch the file.
  8. Mark White

    VBScript Move sent mail to non-default folder

    Hi, I'm trying to move a sent email from the sent box to an other shared mailbox subfolder. I can't use VBA as macros are disabled and am finding it difficult to change the GetFolderPath() function to work in VBScript. Below is how I call it but I'm having trouble converting the VBA code into...
  9. Mark White

    VBA to deal with Recalled messages

    Thanks for all the help, Michael and thanks for the other ideas for moving etc. In point of fact, though, just removing it is fine but good to know all the other ideas. Mark
  10. Mark White

    VBA to deal with Recalled messages

    Goodness me - I just tried it your way oSharedInbox.Items.Remove intI and it worked a treat - amazing, thanks Why does that way work and not my way?
  11. Mark White

    VBA to deal with Recalled messages

    You're right, the .Move or .Delete does raise an error - I should've made that clearer. I just tried your idea of .Remove which gave this error: "Object doesn't support this property or method"... although I wrote the code as oSharedInbox.Items(intI).Remove but I don't see any difference in...
  12. Mark White

    VBA to deal with Recalled messages

    Something like this.. For intI = oSharedInbox.Items.count To 1 Step -1 If TypeOf oSharedInbox.Items(intI) Is MailItem Then Set oMail = oSharedInbox.Items(intI) With oMail If .MessageClass = "IPM.Outlook.Recall" Then .Move oManualInbox...
  13. Mark White

    VBA to deal with Recalled messages

    Hi, I have a Shared mailbox that is programmatically worked on to move messages to other folders depending on the senders as well as send out emails in reply. Occasionally, a recipient of an email from the shared mailbox will email back and then Recall that message which then blocks up the email...
  14. Mark White

    vba to create a shared mailbox folder

    Thanks for that, Diane, however the sub directory to save the email to is contained within the email... I pick that up earlier and then use the GetFolderPath () function found here http://www.slipstick.com/developer/working-vba-nondefault-outlook-folders/ to then Move the email to the folder...
  15. Mark White

    vba to create a shared mailbox folder

    Hi I'm using Outlook 2013 and need to move emails into an archive subdirectory which is fine as per code listed here, but if that subdirectory doesn't exist then my code falls over. My account has all permissions necessary but in this snippet from code found on this site: FoldersArray =...
Back
Top