Search results

  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...
  16. A

    Referencing an attached file in a table with VBA?

    Hello again, I have an email function that uses an .oft template however, I want it to reference an attached .oft template in a table. This DB will be sent career field wide for my job so I need it to be as user friendly for those who have no experience working with VBA for ex they...
  17. A

    Recrring timer for VBA code

    Now, Noob question, can that other database read the information i need from my existing one?
  18. A

    Recrring timer for VBA code

    Hello again, I have a VBA code I would like to have automatically ran every monday, now I'm sure it has something to to with an OnTimer event. However; I'm not sure how to set this up to run weekly, I know that there are 604800000 milliseconds in a week but I've tested with 6...
  19. A

    Help with MsgBox for login VBA

    Wow.. I don't know what I was thinking.... It's been a very, very long day. Thank's a million!!
  20. A

    Help with MsgBox for login VBA

    Is this what you meant? Because this just closes my form after I hit retry and proceeds as if I put in the right password. Private Sub cmdLogin_Click() Dim strUser As String Dim strPWD As String Dim intUSL As Integer strUser = Me.txtUser If DCount("[TechPWD]", "Technicians Extended"...
Back
Top Bottom