Recent content by myezul

  1. M

    Automatically send an email

    You could use CDO to send the emails. Search the forum for CDO mail or google it. I can't post links because i don't have 10 posts :(
  2. M

    Email a query

    U can use something similar Private Sub Command0_Click() Dim objOutlook As Object Dim objItem As Object Dim Mydb As Database Dim Rst As Recordset Dim body Set Mydb = CurrentDb Set Rst = Mydb.OpenRecordset("select", dbOpenForwardOnly) With Rst Do While Not .EOF body = body & ![CodCl] & " | " &...
  3. M

    Situation:Vba to export tables as excel and email them

    Solved it. Created a temp folder that contains the exported files and i attach them to the email after that i delete the temp folder.
  4. M

    Situation:Vba to export tables as excel and email them

    Hello, I have this code: Private Sub Form_Close() DoCmd.SetWarnings False Dim file As String Dim file2 As String Dim file3 As String Dim file4 As String Dim path As String path = InputBox("Save", "Export table") Beep MsgBox "Selectia va fi exportata in " & path file =...
Top Bottom