Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Binding Service Account to VB code in Macros
Hi Everyone,
I am trying to bind a service account to my VB scripting so that the Macros are run with rights of the service account. Can anyone help me how to achieve this ? thanks in advance. Vamsi |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Binding Service Account to VB code in Macros
Vamsi,
Where does Excel come into the picture ? NickHK "Vamsi" wrote in message oups.com... Hi Everyone, I am trying to bind a service account to my VB scripting so that the Macros are run with rights of the service account. Can anyone help me how to achieve this ? thanks in advance. Vamsi |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Binding Service Account to VB code in Macros
Nick and All,
I am trying to automate the account admin process on Network Servers. When any admin runs the macros, the macro should be run with the service account credentials rather than with the admin's username and password. The service account would have rights to do certain high level activities. Can this service account be embedded in code so that by default the code is run with service account username and password.? thanks Vamsi NickHK wrote: Vamsi, Where does Excel come into the picture ? NickHK "Vamsi" wrote in message oups.com... Hi Everyone, I am trying to bind a service account to my VB scripting so that the Macros are run with rights of the service account. Can anyone help me how to achieve this ? thanks in advance. Vamsi |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Binding Service Account to VB code in Macros
Vamsi,
If you talking about macros, they have be run in a container, in this case Excel. Account credential is not a concern for the macro as it inside its host. You need to look at running Excel from within the correct account. NickHK "Vamsi" wrote in message ps.com... Nick and All, I am trying to automate the account admin process on Network Servers. When any admin runs the macros, the macro should be run with the service account credentials rather than with the admin's username and password. The service account would have rights to do certain high level activities. Can this service account be embedded in code so that by default the code is run with service account username and password.? thanks Vamsi NickHK wrote: Vamsi, Where does Excel come into the picture ? NickHK "Vamsi" wrote in message oups.com... Hi Everyone, I am trying to bind a service account to my VB scripting so that the Macros are run with rights of the service account. Can anyone help me how to achieve this ? thanks in advance. Vamsi |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Binding Service Account to VB code in Macros
right Nick.
but my macros do some accout creations/modificaitons on the servers. So the users should have the rights to act on the accounts on servers to successfully run the macros. if the users dont have rights on the server, the macro fails. So I am trying to bind a service account which has rights on the servers. thanks for your help. Vamsi NickHK wrote: Vamsi, If you talking about macros, they have be run in a container, in this case Excel. Account credential is not a concern for the macro as it inside its host. You need to look at running Excel from within the correct account. NickHK "Vamsi" wrote in message ps.com... Nick and All, I am trying to automate the account admin process on Network Servers. When any admin runs the macros, the macro should be run with the service account credentials rather than with the admin's username and password. The service account would have rights to do certain high level activities. Can this service account be embedded in code so that by default the code is run with service account username and password.? thanks Vamsi NickHK wrote: Vamsi, Where does Excel come into the picture ? NickHK "Vamsi" wrote in message oups.com... Hi Everyone, I am trying to bind a service account to my VB scripting so that the Macros are run with rights of the service account. Can anyone help me how to achieve this ? thanks in advance. Vamsi |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
Binding Service Account to VB code in Macros
hi..
Did anyone try something like this before? thanks Vamsi Vamsi wrote: right Nick. but my macros do some accout creations/modificaitons on the servers. So the users should have the rights to act on the accounts on servers to successfully run the macros. if the users dont have rights on the server, the macro fails. So I am trying to bind a service account which has rights on the servers. thanks for your help. Vamsi NickHK wrote: Vamsi, If you talking about macros, they have be run in a container, in this case Excel. Account credential is not a concern for the macro as it inside its host. You need to look at running Excel from within the correct account. NickHK "Vamsi" wrote in message ps.com... Nick and All, I am trying to automate the account admin process on Network Servers. When any admin runs the macros, the macro should be run with the service account credentials rather than with the admin's username and password. The service account would have rights to do certain high level activities. Can this service account be embedded in code so that by default the code is run with service account username and password.? thanks Vamsi NickHK wrote: Vamsi, Where does Excel come into the picture ? NickHK "Vamsi" wrote in message oups.com... Hi Everyone, I am trying to bind a service account to my VB scripting so that the Macros are run with rights of the service account. Can anyone help me how to achieve this ? thanks in advance. Vamsi |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using macros in a second user account | Excel Discussion (Misc queries) | |||
Does anyone know of a service/company that builds macros? | Excel Discussion (Misc queries) | |||
Can a service account be embedded in Workbook so that by default the macros are run with service account credentials and not the user credentials??? | Excel Discussion (Misc queries) | |||
Help converting code to late binding | Excel Programming | |||
SLOW CODE!!! . ........ help (maybe due to unsound BINDING) | Excel Programming |