Recent content by johnbtic

  1. J

    Solved Using Access VBA to send emails in Outlook getting run-time error '-2146959355 (80080005)

    Used VBA for Outlook in the end works a treat. Thanks for all the help much appreciated :) John
  2. J

    Solved Using Access VBA to send emails in Outlook getting run-time error '-2146959355 (80080005)

    Hey DBGuy it works for sending emails which is handy. I'm looking to cycle through the gmail folders and delete certain emails. Not sure how that'll work.
  3. J

    Solved Using Access VBA to send emails in Outlook getting run-time error '-2146959355 (80080005)

    Found this link for sending gmails using VBA, seemed to work https://learndataanalysis.org/send-email-from-your-gmail-account-with-vba/
  4. J

    Solved Using Access VBA to send emails in Outlook getting run-time error '-2146959355 (80080005)

    What I think is interesting as well is that the VBA command is just when it's trying to connect to Outlook it's not like it's trying to create or send an email...
  5. J

    Solved Using Access VBA to send emails in Outlook getting run-time error '-2146959355 (80080005)

    Does anyone know of a way to write code directly to gmail? I tried to do that originally and couldn't do it so I figured I'd write to Outlook instead.
  6. J

    Solved Using Access VBA to send emails in Outlook getting run-time error '-2146959355 (80080005)

    So it worked great. I figured it was because I let Outlook properly synchronize with gmail, just one email address now in Outlook as opposed to 3 earlier. Now it's not working again. Same error. I can send an email in Outlook but the code isn't working.
  7. J

    Solved Using Access VBA to send emails in Outlook getting run-time error '-2146959355 (80080005)

    Thanks DBGuy that was it. You ARE a genius! I have a dim and distant memory of seeing this a while back. I have multiple email addresses in my Outlook. So I removed them all and just added in this one and was able to send emails. It still didn't work, I think because it was downloading all...
  8. J

    Solved Using Access VBA to send emails in Outlook getting run-time error '-2146959355 (80080005)

    I think you might be some kind of a genius... I just tried to send an email and I can't find it in the send folders. I'll investigate and get back to you thanks!!!
  9. J

    Solved Using Access VBA to send emails in Outlook getting run-time error '-2146959355 (80080005)

    Hello all Getting the above error. It used to work and now doesn't. ' Initiate Outlook Dim oApp As Outlook.Application Dim oMail As MailItem Set oApp = CreateObject("Outlook.application") Error occurs on the final line above. Many thanks for any help that can be provided...
  10. J

    Problems using set Formabc.Recordset = thisRS when using a combo box

    Thanks DBGuy and thanks so much for your rapid response it's much appreciated :) I'm sure I'll be back!!
  11. J

    Problems using set Formabc.Recordset = thisRS when using a combo box

    For the record here's the code Dim strProp As String, strSQL As String Dim thisDB As DAO.Database Dim thisRS As DAO.Recordset Set thisDB = CurrentDb() Set thisRS = thisDB.OpenRecordset("SELECT * FROM qryPropertiesTabular") ' Take button click from frmManagePeople, search text in textbox in...
  12. J

    Problems using set Formabc.Recordset = thisRS when using a combo box

    I've been struggling with this for weeks and on a whim I just tried something and it worked. The command I was using was Set thisRS = thisDB.OpenRecordset("SELECT * FROM qryPropertiesTabular ORDER BY [tblProperties.ID]") And I removed the ORDER BY and used Set thisRS =...
  13. J

    Problems using set Formabc.Recordset = thisRS when using a combo box

    Hi all I'd like to use a combobox to select a record. Then using the contents of the combobox to find a record in a recordset, this piece seems to work. But when I use the following command Set FormABC.Recordset = thisRS The contents of the bound text boxes on the form produce a '#Name?'...
  14. J

    Adding entries from a query to the detail section of a report

    Hi Mihail Okay I'll provide a little more detail. Basically it's a query made of two tables. Each entry in the query relates to a piece of work and invoices are sent once monthly so if there are several pieces of work for one client in one month, these several pieces need to go into a report...
Top Bottom