LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 190
Default Problem with RegWrite (Permission)

Hi All,

I put into my Excel Spreadsheet a macro which would modify the registry, but
I seem to be having problems with permission in order to do so. I found that
the code that I have created works for a Windows 2000 machine but it doesn't
work for a Window XP machine where it says that there is a bug on the fifth
line below:
Dim RegistryKey As String
Dim KeyExist As Long
RegistryKey = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Comm on\Security"
KeyExist = oShell.RegRead(RegistryKey)

Is there any way around it?
Thanks heaps in advance!!!

Cheers,
Mary
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
restricted permission for worksheet Naveen Excel Discussion (Misc queries) 1 July 5th 08 03:00 PM
Permission to use object denied WilDeliver[_2_] Excel Programming 2 October 22nd 04 07:46 PM
permission after migrate to off.XP resize32 Excel Programming 1 April 19th 04 08:03 AM
Permission problem when opening excel file from ASP Wes[_6_] Excel Programming 1 December 12th 03 01:10 AM
Permission Denied Audrey Ng Excel Programming 1 October 1st 03 07:20 AM


All times are GMT +1. The time now is 06:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"