Sorry if I wasn't more clear. I tried to call out the error. Line 38 begins here:
Set rstIePa = dbPa.OpenRecordset(strGroupPASQL, dbOpenDynaset)
With rstIePa
If Not (.BOF And .EOF) Then
.MoveLast
lngTotRecCount = .RecordCount
.MoveFirst
Hello, I need help for an issue I have with the following code. I am trying to run an email macro in access which had been successfully run before. I am taking this process over and new to this so I am having a hard time troubleshooting it. The "Run-time '91' - Object variable or With block...