Joe4
MrExcel MVP, Junior Admin
- Joined
- Aug 1, 2002
- Messages
- 73,429
- Office Version
- 365
- Platform
- Windows
This question is probably so easy, I am embarrassed to even ask it. Nonetheless...
How do you suppress confirmation pop-ups in VBA code in Access? I know that in Excel, you can use "Application.DisplayAlerts = False", but am not sure what to use in Access.
I am using the "DoCmd CopyObject" command to copy a query over to another one, and it keeps asking me if I want to overwrite the original, and the answer will always be "Yes".
How do you suppress confirmation pop-ups in VBA code in Access? I know that in Excel, you can use "Application.DisplayAlerts = False", but am not sure what to use in Access.
I am using the "DoCmd CopyObject" command to copy a query over to another one, and it keeps asking me if I want to overwrite the original, and the answer will always be "Yes".