Retrieving Active Directory "Full Names"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a spreadsheet with 50 rows containing Active Directory usernames. I
want to create a second column containing the corresponding Full Names. That
is, cell A1 already has "msmith" and I want cell B1 to retrieve "Michael
Smith" from Active Directory. Can this be done?
 
What code are you using to retreive the usernames from th
ActiveDirectory?

This will help in answering your question
 
There is an OLDEDB provider fro AD as well, so you can use a QueryTable
object to get a list from your AD server. You need VBA since Excel
front end does not accept an ADO string for a nornal query.

DM Unseen
 
not quite true.

you cannot create a QueryTables as ADODB from UI,
as it will default to ODBC

with VBA you can create(or modify existing) QT without problems.
(maybe minor probs in xl97)

then you CAN modify the query itself from UI but you can no longer
invoke msquery.


--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


DM Unseen wrote :
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top