[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Parameters Macro Excel 2007 trought GPO

Asked by SensInformatique in Microsoft Excel Spreadsheet Software, Microsoft Office Suite, Microsoft Word

Hi,

I want to parameters Macro on Excel 2007 trought GPO.  I made a script but it works only if the user is a workstation local admin :

On Error resume next

Const HKEY_CURRENT_USER = &H80000001

strComputer = "."
Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
 
strKeyPath = "Software\Policies\Microsoft\Office\12.0\Excel\Security"

strValueName = "VBAWarnings"
dwValue = 2
objRegistry.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, dwValue


I want to make it for users that are not local admin.

Workstations are Windows XP and DC is 2008 Server.

Thanks for any help!

 
Loading Advertisement...
 
[+][-]07/03/09 12:16 PM, ID: 24774014Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/06/09 01:55 AM, ID: 24783496Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/06/09 06:55 AM, ID: 24785175Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_Related_20080208