Hi guys,

I have been searching the web for quite some hours now and I can't seem to find a decent solution..
I just need to add an active directory UserAccount to an active directory group.

The Useraccount is located in cell A1 and the activedirectory group is located in cell B1.
When I click on a button, this action must be done. Most preferably it needs to check first if the user is already a member of this group.

Does anyone have an idea how I can do this? I don't know anything of AD-query's with VBA (or even any kind of scripting like powershell).
So if you could explain the code, it would help me change it in the future..

I have already found some websites with code, but really don't understand what is needed.. ADO is needed? Do I need to add an ODBC?!

Thx in advance!!

Kind regards,

Sven