Link to home
Start Free TrialLog in
Avatar of duncanb7
duncanb7

asked on

Administrator on Windows 7 could not copy file into c:\program files <x86>\Microsoft office\OFFICE11

Dear Experts,
http://support.microsoft.com/kb/837910/en-us, after
download MouseWheel fix for  Excel 2003  VBA editor mousr scroll bar issue  from the site,
 From the instruction, I try to run regsvr32 <path>\VB6IDEMouseWheelAddin.dll  that is not working, probably it is permission issue , so that I try copy the dll file into MS Excell office system directory,
After checking on control-panel on window, my account on window 7 is adminstrator but
I could NOT copy one file into  c:\Program Files <x86>Microsoft Office\Office11

The CMD command is

copy d:\temp\VB6IDEMouseWheelAddin.dll c:\Program Files <x86>Microsoft Office\Office11
save/write reject
Copy   0 files

Why ?
Any place where I can change the permission mode for doing the command
Supposed amdinstrator could do any command ? Right ?

Duncan
Avatar of merowinger
merowinger
Flag of Germany image

Maybe the spaces in the path are a problem. Also there is missing a backslash. Try this:

copy d:\temp\VB6IDEMouseWheelAddin.dll "%ProgramFiles(x86)%\Microsoft Office\Office11"
Avatar of duncanb7
duncanb7

ASKER

just typing mistake in the post, but I type the comannd with the correct one that is  not working
ASKER CERTIFIED SOLUTION
Avatar of Joe Winograd
Joe Winograd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
regsvr32 the dll file that is working but it is not imported into VBA ADDin
from http://office.microsoft.com/en-us/excel-help/add-support-for-the-scroll-wheel-to-the-microsoft-visual-basic-for-applications-6-environment-HA010117590.aspx

So make the new thread for solving other issue from addin for VBA
copy d:\temp\VB6IDEMouseWheelAddin.dll "%ProgramFiles(x86)%\Microsoft Office\Office11"
is working if run cmd.exe with as administrator
Thanks for your reply
Duncan
You're welcome, Duncan. And thanks to you for providing the further details. I'm glad it's working now. Regards, Joe