EXHIBIT 23
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We hereby consent to the incorporation by reference in the Registration Statements on Form S-8 (No. 333-134204, No. 333-120260, No. 333-43925, No. 333-48172, and No. 333-98123) of CDW Corporation of our report dated March 1, 2007 relating to the financial statements, financial statement schedule, management’s assessment of the effectiveness of internal control over financial reporting and the effectiveness of internal control over financial reporting, which appears in this Form 10-K.
     
  /s/ PricewaterhouseCoopers LLP
   
 
  PricewaterhouseCoopers LLP
   
  Chicago, Illinois
   
  March 1, 2007