View Single Post
 
Old 08-28-2024, 06:26 PM
DaniMul DaniMul is offline Windows 11 Office 2021
Novice
 
Join Date: Aug 2024
Location: New Zealand
Posts: 4
DaniMul is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
This compile error is misleading (and has nothing to do with the record count). The actual problem is that you have an If statement inside the For/Next loop that does not close.

Where was this line going to close with an End If?
If Err.Number = 5631 Then
ok I see I need an End if but where can I put it?
Reply With Quote