A
Alan
I am using the MSXML library from VBA code in Excel 2007 on Windows
Vista. Everything works fine until I try to save an XML file with
this code:
Const MyLocation = "C:\Users\Alan\Desktop"
. . .
Set objDom = New DOMDocument
. . .
objDom.Save (MyLocation)
At that last line, I get the following error:
Run-time error '-2147024891 (80070005)':
Access is denied
Why would it not let me save a file?
Thanks, Alan
Vista. Everything works fine until I try to save an XML file with
this code:
Const MyLocation = "C:\Users\Alan\Desktop"
. . .
Set objDom = New DOMDocument
. . .
objDom.Save (MyLocation)
At that last line, I get the following error:
Run-time error '-2147024891 (80070005)':
Access is denied
Why would it not let me save a file?
Thanks, Alan