froggiebeckie
Registered User.
- Local time
- Today, 06:09
- Joined
- Oct 11, 2002
- Messages
- 104
I have a simple macro (A2007) that outputs multiple reports to specific locations. It works fine.
I would like to disable the warning about "Report BlahBlah already exists. Do you want to replace it?" that pops up before each output.
I've started the macro with:
SetWarnings-----No
OpenReport------AvailInvRollsRPT, Print Preview, , , Normal
Close------------Report, AvailInvRollsRPT, Prompt
OutputTo--------Report, AvailInvRollsRPT, PDF Format (*.pdf), P:\WarehouseDB\InventoryReports\Available Rolls Inventory Report.pdf, No, , 0, Print
OutputTo--------Report, AvailInvRollsRPT, PDF Format (*.pdf), N:\R&D WH INV REPORTS\Available Rolls Inventory Report.pdf, No, , 0, Print
It repeats from "OpenReport" for 4 different reports, then closes with:
SetWarnings-----Yes
Is there an easy way to stop the "Report BlahBlah already exists. Do you want to replace it?" dialogue box?
Thanks
BeckieO
I would like to disable the warning about "Report BlahBlah already exists. Do you want to replace it?" that pops up before each output.
I've started the macro with:
SetWarnings-----No
OpenReport------AvailInvRollsRPT, Print Preview, , , Normal
Close------------Report, AvailInvRollsRPT, Prompt
OutputTo--------Report, AvailInvRollsRPT, PDF Format (*.pdf), P:\WarehouseDB\InventoryReports\Available Rolls Inventory Report.pdf, No, , 0, Print
OutputTo--------Report, AvailInvRollsRPT, PDF Format (*.pdf), N:\R&D WH INV REPORTS\Available Rolls Inventory Report.pdf, No, , 0, Print
It repeats from "OpenReport" for 4 different reports, then closes with:
SetWarnings-----Yes
Is there an easy way to stop the "Report BlahBlah already exists. Do you want to replace it?" dialogue box?
Thanks
BeckieO