My VBA macro and excel is crashing when Inam trying to open an file from the network location.It is working fine in windows 7 but not in windows 10

Saswat Das

New Member
Joined
Apr 17, 2020
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
My VBA macro and excel is crashing while opening a file from network in windows 10 but it works smoothly in windows 7


I am able to open if I run step by step using f9.

Actually the goal of the macro is to make a list of files having a certain date (which I figure out as the date is present in the file name) in the network and then by opening one by one file from that list copy paste and consolidate them in the master file.

Kindly help me in resolving the issu
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
welcome to the forum
if you want help fixing a macro we need to see it
click on <vba/> icon and paste ALL of the macro between the code tags
do not try to format the code

[ CODE=vba ]YOUR CODE HERE [/CODE ]
 
Upvote 0

Forum statistics

Threads
1,214,795
Messages
6,121,624
Members
449,041
Latest member
Postman24

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