Macro saving file with Owner locking (another user). How to remove it???

ginner159

New Member
Joined
Jun 16, 2011
Messages
15
Hi all,

Ive made a macro for work that saves old 2007 .xls files to the new 2010 .xlxs file format. the problem im having is that the file created by the macro is saved on a network and is showing a message when opened that the file is locked for editing by 'another user'.

The message can be removed if i click on 'notify' then wait a min or two for the 'read-write' box to appear, then save and exit . when i reopen it / someone else opens it the message no longer appears.

Is there a way to remove/stop this from happening as it is really inconvenient for me to have to open then re-save a file that has just been created (there are 100's of files to go through)

I know this may have come up somewhere before but ive searched google for a good hour and cannot seem to find a fix.

Thanks in advance
Matt
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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