The Windows folder is for operating system files, and nothing else. We have
tightened the security on that folder to reflect this fact. I would
encourage you to store the .ini files in a folder that you create. Then look
for a way to do some kind of (possibly programmatic) search-and-replace in
your spreadsheet to change the existing references to the new location.
--
Steve Riley
steve.riley.DeleteThis@microsoft.com
http://blogs.technet.com/steriley
http://www.protectyourwindowsnetwork.com
"Broadband Al" <BroadbandAl.DeleteThis@discussions.microsoft.com> wrote in message
news:719EAE33-963E-487A-8DCB-CE6ABD098F6C@microsoft.com...
> I have Excel VB code that saves a tiny ini file in the Windows Directory.
> Worked a treat on XP for years. It won't run on Vista because of the
> security permissions for the Windows folder. I can work around it for new
> files but all the hundreds of existing examples of my spreadsheet crash on
> opening on a Vista machine. I don't want to reprogram every instance - all
> I
> need is to save a tiny file in the Windows Directory! But how???
> --
> Oxfordshire, UK