excel files opened in Access R/O losing security settings ??

tonySA

New Member
Joined
May 12, 2002
Messages
22
here's a curly one that someone may have come across before
We're using W2k server and have an Access 2000 app that individually opens a number of excel spreadsheets read only, extracts some data and closes the file. Trouble is it seems to spasmodically remove the security settings from a spreadsheet which means we can't copy, delete or do anything with it. The only way to fix is a server reboot.
any ideas ?
thanks
Tony
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Re: excel files opened in Access R/O losing security setting

What do you mean rebooting the server 'fixes' a security problem in a spreadsheet?

I have a hunch about a common problem working with Excel from Access.

When you attempt to open Excel, does it seem to 'lock up'?
When you look at the process list in Task Manager, are there multiple entries for Excel (and you have none or fewer running)?

If yes, it's possible you're not closing the application object completely (at all) when closing excel. There's a trick to it - you have to set the application.usercontrol property to true before the Close method.

Here is the first post where I learned of this 'fix' myself.

http://www.mrexcel.com/board2/viewtopic.php?t=76988&highlight=usercontrol
 
Upvote 0

Forum statistics

Threads
1,214,960
Messages
6,122,479
Members
449,088
Latest member
Melvetica

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