Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Saying No to Message Box prompt through VBA
Hi all,
I've created a VBA program which opens another Excel workbook and copies data from two different tabs and pastes into my current workbook. After all that is done, I try to close the source workbook, but get a message box stating if I want to save changes to the workbook. I want the VBA script to say no. I used application.sendkeys ("n") to accomplish this, but it doesn't work. I want to run this program on a daily basis unattended, but as of now, the program stops and waits for me to click No on the message box before proceeding. Any and all help will be greatly appreciated! Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Message Box Prompt | Excel Programming | |||
help with message prompt | New Users to Excel | |||
Message prompt in VBA | Excel Programming | |||
Disable Message Prompt in VBA | Excel Programming | |||
Deleting a Prompt Message | Excel Programming |