We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
CellCnt = 1 For Each fld In rs.Fields xlSheet.Cells(1, CellCnt).Value = fld.Name xlSheet.Cells(1, CellCnt).Interior.ColorIndex = 33 xlSheet.Cells(1, CellCnt).Font.Bold = True xlSheet.Cells(1, CellCnt).BorderAround xlContinuous CellCnt = CellCnt + 1 Next fld rs.MoveFirst xlSheet.Cells(2, 1).CopyFromRecordset rs DoEvents ' Auto fit columns. xlSheet.Cells.EntireColumn.AutoFit xlSheet.Cells.Select xlSheet.Cells.AutoFilter
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.