Recent content by A1CLowe

  1. A

    Replace method in .oft template

    I've tried two others with the same result. However these are DoD computers and I've read that outlook might be blocking me from directly sending emails. I've used the sendobject before and it's worked fine by automatically sending emails though so I'm not sure why this would be any different..
  2. A

    Replace method in .oft template

    I am still unable to get .send to work... Even with the recommended changes.
  3. A

    Replace method in .oft template

    This definately is a weird problem..
  4. A

    Replace method in .oft template

    Well mine never asks for an account or permission, it jus opens the new email if the replace string isn't there, but the email won't generate because of this error.
  5. A

    Replace method in .oft template

    Just placed it in the same filepath as you had, still the same error.
  6. A

    Replace method in .oft template

    Even after "refreshing" the reference the error still occurs, it was the Microsoft outlook 12.0 object library correct?
  7. A

    Replace method in .oft template

    Office 2007 on a windows machine
  8. A

    Replace method in .oft template

    I'm getting an "application-defined or object-defined error" on objMail.body = Replace(objMail.body, "reasonforvisit", strRFV) This is on the Mapi DB that its happening on, I haven't put it in mine yet.
  9. A

    Replace method in .oft template

    Unfortunately that's not really what I need, I just need a way to send an email based of a template. Whether it be .oft (Preferred) .html, .txt, .doc or what have you. It just needs to be a template so someone with very little or actually someone with no VBA experience can go in and change the...
  10. A

    Replace method in .oft template

    Still no results with changing it to .body instead of .htmlbody
  11. A

    Replace method in .oft template

    No value came out of it.. Just a blank immediate window.. Even after adding my breakpoint.
  12. A

    Replace method in .oft template

    I'm on my phone so I can only copy what it says. Greetings, Recently you visited finance for assistance with reasonforvisit related issues. Please take this time to grade our performance by completing the attached survey. We look forward to hearing from you! Thanks, CPTS Staff
  13. A

    Replace method in .oft template

    The string was actually %reasonforvisit% in the email as a placeholder, I took the % off as I guess I don't really need it. However; I still am having no sucess with it actually changing the placeholder to what I need.
  14. A

    Replace method in .oft template

    Alright so I've got everything but the replace function working. I've tried all sorts of different methods to get the placeholder text to change to what it's supposed to be. Also the email still won't automatically send. I still have to have .display so I can send it manually. Here is my code...
  15. A

    Replace method in .oft template

    Good morning forums, I have yet another question that has been giving me issues lately. I am probably just going about all wrong. I am working on a replace function to replace %reasonforvisit% with the actual field value and so far the code runs without error however; the data is not passed...
Back
Top Bottom