Search results

  1. P

    How many subs can run in one outlook VBA script

    At the beginning of this thread I included two scripts that I'm running. inside the documents are an issues at the top.
  2. P

    Outlook Macro keeps running for the same messagage

    I was in the same thread... Not sure what happened or where it went...???
  3. P

    How many subs can run in one outlook VBA script

    Nice. Thanks. I'll give it a try... Were you able to answer the two minor issues I have with my private subs? Excel works but I need to grab the CC# at the top and haven't been able to do it inside the current pattern... And I'm not sure how you make these apply to all emails in a folder...
  4. P

    extract certain text from an Outlook Email Message

    I do see there are two case 15's
  5. P

    How many subs can run in one outlook VBA script

    I would like to run a script (that you already helped me with) to send Email information to Trello. I would also like to send a copy of that same information to an Excel Spread Sheet which I managed to do with some slight modifications of one of your sample scripts. My question is how do I run...
  6. P

    Outlook Macro sends information to Excel

    My Outlook VBS Script is correctly capturing and sending information from the body of my email to seperate cells in Excel however I need to capture a different piece of information near the top of the email and also send it and so I was thinking I needed a Reg2 to capture the correct pattern but...
  7. P

    Outlook Macro keeps running for the same messagage

    My script seems to be running (and sending to Trello the same set of information) for each mail in the folder but it keeps sending the same information for the same email for each number of emails in the box... Not sure what I need to change in my code? I think it may have to do with this line...
  8. P

    Foward email to Trello without FW in subject and parce the text

    My script seems to be running for each mail in the folder but it keeps sending the same information for the same email for each number of emails in the box... Not sure what I need to change in my code? I think it may have to do with this line but it errors when I remove it: Set olMail =...
  9. P

    Foward email to Trello without FW in subject and parce the text

    Two final questions. There is a space in the subject line before the subject and i'm not sure why and also you said earlier that this is a one message script. How do I change it to apply to all emails in a folder?
  10. P

    Foward email to Trello without FW in subject and parce the text

    Ok here is what I finally came up with. It might be ugly but it works... :) Two final questions. There is a space in the subject line before the subject and i'm not sure why and also you said earlier that this is a one message script. How do I change it to apply to all emails in a folder? Sub...
  11. P

    Foward email to Trello without FW in subject and parce the text

    This one opens up an email.. puts in the correct to address and subject but has no body
  12. P

    Foward email to Trello without FW in subject and parce the text

    This is just so weird because it should work but it doesn't! I must have something else wrong and I'm over looking it. I even removed the move to specific folder and assign category just to make sure it wasn't messing it up. Here is latest code. Maybe you can see something in the wrong place...
  13. P

    Foward email to Trello without FW in subject and parce the text

    If I add searching for the ! then I only get ONE LINE Without it I get the entire email body... Case 2 .Pattern = "[!](\w*)\s*(.*)" .Global = True End Select End With If Reg1.Test(olMail.Body) Then Set M1 = Reg1.Execute(olMail.Body) For Each M In M1 strResult(i) = M.SubMatches(1) Debug.Print...
  14. P

    Foward email to Trello without FW in subject and parce the text

    well I tried this one: .Pattern = "(\d*)\s*(.*)" and it delivers the entire body of the text... If I add follows[:] then I get nothing. Maybe it would be easier to remove the first part instead of capture the last part... Any ideas would be greatly appreciated. I'm extremely frustrated at...
  15. P

    Foward email to Trello without FW in subject and parce the text

    Ok so I've tried all the patterns I could find, the ones you suggested and ones that I've tried to put together but this is the closest I've gotten This will deliver the last word on every line that has a colon and I have no idea how that happened. Set Reg1 = New RegExp Set olMail =...
  16. P

    Foward email to Trello without FW in subject and parce the text

    Ok this one gave me nothing... . Pattern = "(request follows(.*))" This one gave me one line only.. Case 2 .Global = False .Pattern = "request follows[:](\d*)\s*(.*)" .MultiLine = True End Select
  17. P

    Foward email to Trello without FW in subject and parce the text

    Ok I changed it to this and got one line in the subject Case 2 .Global = False .Pattern = "request follows[:](\d*)\s*(.*)" .MultiLine = True End Select
  18. P

    Foward email to Trello without FW in subject and parce the text

    HOUSTON WE HAVE A SUBJECT! WHOO HOOO.... Still no body yet but brought up the window, put in the to: and put in the subject (without the FW like I needed)
  19. P

    Foward email to Trello without FW in subject and parce the text

    like this: Sub ForwardProjectcard() Dim olMail As Outlook.MailItem Dim Reg1 As RegExp Dim M1 As MatchCollection Dim M As Match Dim strResult(2) As String Dim strSubject, strFollows As String Set Reg1 = New RegExp Set olMail = Application.ActiveExplorer().Selection(1) For i = 1 To 2...
  20. P

    Foward email to Trello without FW in subject and parce the text

    Actually the email is sent and the subject is BLANK and the contents is BLANK and only the first one gets category assigned. But IT DID RUN! ug. Sub ForwardProjectcard() Dim olMail As Outlook.MailItem Dim Reg1 As RegExp Dim M1 As MatchCollection Dim M As Match Dim strResult(2) As String Dim...
Back
Top