Issue w/ saving a file using VBA on a W7 machine

stastim

Board Regular
Joined
Aug 9, 2004
Messages
89
Hi, I'm experiencing a problem with Excel in the Windows 7 environment. It appears that sometimes I temporarily lose connection to the network, and if I'm running any VBA procedures that are trying to save an Excel file to the network, they simply stop and wait for the user to click "Cancel" to the prompt message to save the file (if I click on it manually, the file gets saved). Is there an easy way to solve this automatically? I was told it's a Windows 7 issue and there are no solutions to it from the network administration stand point. So, I was thinking about setting up a time limit during which if the file is not saved to try it again - hopefully the network connection comes back in a few seconds. Or if there's a way to automatically click "Cancel" to that prompt (like "Click Yes" program for Outlook). Other ideas are definitely welcome. Thanks!
 
Last edited:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,224,591
Messages
6,179,768
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top