You can export all users to a CSV file from Active Directory using a tool called CSVDE, it comes with Windows Server 2003, 2003 R2, 2008, and 2008 R2. It also comes in the RSAT pack for Windows 7 (shown on my blog post here).
Its really simple,
- Go to Start
- Go to RUN (if required)
- Type in CMD to get to the command prompt
- Type in CSVDE –f <filename> –S <dccontroller>
Now you can import this into excel.